{"id":1454,"date":"2022-06-11T15:00:57","date_gmt":"2022-06-11T15:00:57","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=1454"},"modified":"2026-05-31T03:49:19","modified_gmt":"2026-05-31T03:49:19","slug":"how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","title":{"rendered":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>When performing a website migration using cPanel Express Transfer, an incomplete transfer process can sometimes leave temporary redirect rules in the website&#8217;s <code>.htaccess<\/code> files. As a result, visitors may be redirected to a URL similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;server.example.com\/cgi-sys\/movingpage.cgi\n<\/code><\/pre>\n\n\n\n<p>This occurs because the migration process adds redirect entries to prevent access to dynamic content until the transfer is complete. If these entries are not removed afterward, the website will continue redirecting to the <code>movingpage.cgi<\/code> page.<\/p>\n\n\n\n<p>This guide explains how to identify and remove these redirects to restore normal website functionality.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before proceeding, ensure the following requirements are met:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-e166ff22299151f73528571db940b526\">Root access to the cPanel\/WHM server.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-57ad7afa67b6924c4989cf4e3cd50e80\">SSH access to the server.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-d1c45a53237176414073c65cc332b2db\">Basic familiarity with Linux command-line operations.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-2646062479645b712ac61f3b25df3ad4\">The affected websites are hosted on a cPanel server.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Cause of the Issue<\/h3>\n\n\n\n<p>The following entry may be present in the website&#8217;s <code>.htaccess<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>RedirectMatch \\.(dynamiccontent|pl|plx|perl|cgi|php|php4|php5|php6|php3|shtml)$ http:\/\/server.example.com\/cgi-sys\/movingpage.cgi\n<\/code><\/pre>\n\n\n\n<p>This rule redirects requests for dynamic content to the migration holding page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Remove Redirects for a Specific cPanel Account<\/h3>\n\n\n\n<p>cPanel provides a utility that automatically removes these redirect entries:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/cpanel\/scripts\/xfertool --unblockdynamiccontent cpanelusername\n<\/code><\/pre>\n\n\n\n<p>Replace <code>cpanelusername<\/code> with the actual cPanel account username.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Remove Redirects for All Accounts on the Server<\/h3>\n\n\n\n<p>If multiple websites are affected, run the following command to process all cPanel accounts:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cut -d ' ' -f2 \/etc\/trueuserdomains | while read user; do\n    \/usr\/local\/cpanel\/scripts\/xfertool --unblockdynamiccontent $user\ndone\n<\/code><\/pre>\n\n\n\n<p>This command iterates through all cPanel users and removes any migration-related dynamic content blocks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Verify Website Accessibility<\/h3>\n\n\n\n<p>After running the commands:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Clear your browser cache.<\/li>\n\n\n\n<li>Restart Apache if necessary.<\/li>\n\n\n\n<li>Access the affected website.<\/li>\n\n\n\n<li>Confirm that pages no longer redirect to <code>cgi-sys\/movingpage.cgi<\/code>.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Websites redirecting to <code>cgi-sys\/movingpage.cgi<\/code> after a migration are typically caused by leftover Express Transfer redirect rules in <code>.htaccess<\/code> files. Using the <code>xfertool --unblockdynamiccontent<\/code> script removes these entries and restores normal website functionality. Once the cleanup is completed, the affected websites should load normally without redirecting to the migration holding page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction When performing a website migration using cPanel Express Transfer, an incomplete transfer process can sometimes leave temporary redirect rules in the website&#8217;s .htaccess files. As a result, visitors may be redirected to a URL similar to: This occurs because the migration process adds redirect entries to prevent access to dynamic content until the transfer ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[160,5,10,159],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-whm","tag-cgi-sys-movingpage-cgi","tag-cpanel","tag-php","tag-redirects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction When performing a website migration using cPanel Express Transfer, an incomplete transfer process can sometimes leave temporary redirect rules in the website&#8217;s .htaccess files. As a result, visitors may be redirected to a URL similar to: This occurs because the migration process adds redirect entries to prevent access to dynamic content until the transfer ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-11T15:00:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-31T03:49:19+00:00\" \/>\n<meta name=\"author\" content=\"knowledge-base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"knowledge-base\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"},\"author\":{\"name\":\"knowledge-base\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"headline\":\"How to Recover Websites Redirecting to cgi-sys\\\/movingpage.cgi\",\"datePublished\":\"2022-06-11T15:00:57+00:00\",\"dateModified\":\"2026-05-31T03:49:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"},\"wordCount\":296,\"commentCount\":0,\"keywords\":[\"cgi-sys\\\/movingpage.cgi\",\"cPanel\",\"PHP\",\"redirects\"],\"articleSection\":[\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\",\"name\":\"How to Recover Websites Redirecting to cgi-sys\\\/movingpage.cgi - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2022-06-11T15:00:57+00:00\",\"dateModified\":\"2026-05-31T03:49:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Recover Websites Redirecting to cgi-sys\\\/movingpage.cgi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\",\"name\":\"knowledge-base\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"caption\":\"knowledge-base\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/knowledge-base\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","og_locale":"en_US","og_type":"article","og_title":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","og_description":"Introduction When performing a website migration using cPanel Express Transfer, an incomplete transfer process can sometimes leave temporary redirect rules in the website&#8217;s .htaccess files. As a result, visitors may be redirected to a URL similar to: This occurs because the migration process adds redirect entries to prevent access to dynamic content until the transfer ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2022-06-11T15:00:57+00:00","article_modified_time":"2026-05-31T03:49:19+00:00","author":"knowledge-base","twitter_card":"summary_large_image","twitter_misc":{"Written by":"knowledge-base","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"},"author":{"name":"knowledge-base","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"headline":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi","datePublished":"2022-06-11T15:00:57+00:00","dateModified":"2026-05-31T03:49:19+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"},"wordCount":296,"commentCount":0,"keywords":["cgi-sys\/movingpage.cgi","cPanel","PHP","redirects"],"articleSection":["WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","name":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2022-06-11T15:00:57+00:00","dateModified":"2026-05-31T03:49:19+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Recover Websites Redirecting to cgi-sys\/movingpage.cgi"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b","name":"knowledge-base","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","caption":"knowledge-base"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/knowledge-base\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=1454"}],"version-history":[{"count":5,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":3702,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454\/revisions\/3702"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}