{"id":7045,"date":"2022-06-09T14:25:13","date_gmt":"2022-06-09T14:25:13","guid":{"rendered":"https:\/\/wpx.net\/kb\/?post_type=ht_kb&#038;p=7045"},"modified":"2026-07-22T12:58:12","modified_gmt":"2026-07-22T12:58:12","slug":"my-new-staging-site-isnt-working-what-can-i-do-to-fix-it","status":"publish","type":"ht_kb","link":"https:\/\/wpx.net\/kb\/my-new-staging-site-isnt-working-what-can-i-do-to-fix-it\/","title":{"rendered":"My new Staging site isn&#8217;t working. What can I do to fix it?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">If your staging site isn\u2019t loading or behaving as expected, don\u2019t worry\u2014it\u2019s usually something simple. In this article, we\u2019ll walk you through the most common reasons why that might happen and how to fix each one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since some of the fixes require access to your site\u2019s files, we recommend <strong><a href=\"https:\/\/wpx.net\/clientarea\/\">logging into your WPX account<\/a><\/strong> before getting started.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>HTTP Error 500<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Most often caused by security plugins like <strong>Wordfence <\/strong>blocking access to the staging site. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you configure your Wordfence firewall, the plugin creates a file that contains specific paths for the current site  &#8211; <code><strong>wordfence-waf.php<\/strong><\/code> It also adds related rules to your <code><strong>.htaccess<\/strong><\/code> file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since the Staging site is an exact copy of the Live site, it inherits both files, but the paths inside them are not updated to reflect the Staging site. This mismatch often results in a <strong>500 Internal Server Error<\/strong> or a completely blank page when trying to access the Staging site.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d01942&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d01942\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"822\" height=\"511\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR.png\" alt=\"\" class=\"wp-image-11243\" style=\"width:481px;height:auto\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR.png 822w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR-300x186.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR-768x477.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR-50x31.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR-60x37.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/500-ERROR-100x62.png 100w\" sizes=\"auto, (max-width: 822px) 100vw, 822px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To resolve the issue, you need to edit both the <code><strong>wordfence-waf.php<\/strong><\/code> and <strong><code>.htaccess<\/code><\/strong>  on the Staging site to reflect the location of the files. The incorrect paths should either be updated to match the correct staging paths or the functionality of the added Wordfence rules should be temporarily disabled to allow the site to load properly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following steps will show you how to do both, so you can choose the method that\u2019s most convenient for you.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1. Open File Manager<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>FTP Users &amp; Files<\/strong>.<\/li>\n\n\n\n<li><a href=\"https:\/\/wpx.net\/kb\/how-can-i-add-ftp-users\/\" data-type=\"link\" data-id=\"https:\/\/wpx.net\/kb\/how-can-i-add-ftp-users\/\"><strong>Create an FTP user<\/strong><\/a> for the website you are troubleshooting.<\/li>\n\n\n\n<li>Click on the <strong>File Manager<\/strong> button. This will open a<em> new tab<\/em> with our File Manager.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0267f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0267f\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1691\" height=\"743\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login.png\" alt=\"\" class=\"wp-image-14608\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login.png 1691w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-300x132.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-1024x450.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-768x337.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-50x22.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-1536x675.png 1536w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-60x26.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-100x44.png 100w\" sizes=\"auto, (max-width: 1691px) 100vw, 1691px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2. Locate <code>.htaccess<\/code> and <code>wordfence-waf.php<\/code><\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the File Manager, open the public_html directory of the staging website.  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our example, that is domains\/staging.wxpexample.net\/public_html<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0301d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0301d\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1853\" height=\"734\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf.png\" alt=\"\" class=\"wp-image-14657\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf.png 1853w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-300x119.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-1024x406.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-768x304.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-50x20.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-1536x608.png 1536w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-60x24.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-htaccess-wfwaf-100x40.png 100w\" sizes=\"auto, (max-width: 1853px) 100vw, 1853px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3. Edit the paths within the WordFence rules<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This method can be a bit more challenging if you&#8217;re not tech-savvy, but following the steps carefully will help ensure everything is edited correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Edit the <code>wordfence-waf.php<\/code><\/strong> <strong>file<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Double-click on the<strong> <\/strong><code><em>wordfence-waf.php<\/em><\/code> file or right-click and choose <strong>Open<\/strong> to enter edit mode.<\/li>\n\n\n\n<li>Locate the <strong>the file paths <\/strong>in the code and update them by adding the staging site path. In most cases, the path to be added is <code>\/domains\/staging.example.net\/<\/code><\/li>\n\n\n\n<li>After editing all lines, click <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;galleryId&quot;:&quot;6a7b576d036fc&quot;}\" data-wp-interactive=\"core\/gallery\" class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d03d4f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d03d4f\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1241\" height=\"340\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" data-id=\"14659\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths.png\" alt=\"\" class=\"wp-image-14659\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths.png 1241w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-300x82.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-1024x281.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-768x210.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-50x14.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-60x16.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-waf-paths-100x27.png 100w\" sizes=\"auto, (max-width: 1241px) 100vw, 1241px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Edit the <code>.htaccess<\/code> file<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Double-click on the <em><code>.htaccess<\/code><\/em> file or right-click and choose <strong>Open<\/strong> to enter edit mode.<\/li>\n\n\n\n<li>Locate the <strong>#Wordfence WAF<\/strong> rule<\/li>\n\n\n\n<li>Locate the <strong>two file paths <\/strong>in the code and update them by adding the staging site path. In most cases, the path to be added is <code>\/domains\/staging.example.net\/<\/code><\/li>\n\n\n\n<li>After editing both lines, click <strong>Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0a50e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0a50e\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1153\" height=\"350\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths.png\" alt=\"\" class=\"wp-image-14658\" style=\"width:615px;height:auto\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths.png 1153w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-300x91.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-1024x311.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-768x233.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-50x15.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-60x18.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/wf-paths-100x30.png 100w\" sizes=\"auto, (max-width: 1153px) 100vw, 1153px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">The 500 Error should be successfully resolved now.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Staging site redirects to Live Site<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your staging site is redirecting to the live site, it\u2019s most likely due to <em><code>define<\/code> <\/em>rules for<strong> <code>WP_HOME<\/code><\/strong> and <code><strong>WP_SITEURL<\/strong><\/code> in the <code><strong>wp-config.php<\/strong><\/code> file of the live site. These rules force WordPress to use specific URLs, which can cause <strong>redirection issues<\/strong> when copied over to a staging environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix the issue, you need to remove or disable these rules by commenting out the lines, using either<strong> <code>#<\/code><\/strong> or <code><strong>\/\/<\/strong><\/code>. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1. Open File Manager<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>FTP Users &amp; Files<\/strong>.<\/li>\n\n\n\n<li>Click on the <strong>File Manager<\/strong> button. This will open a<em> new tab<\/em> with our File Manager.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0badc&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0badc\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1691\" height=\"743\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login.png\" alt=\"\" class=\"wp-image-14608\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login.png 1691w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-300x132.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-1024x450.png 1024w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-768x337.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-50x22.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-1536x675.png 1536w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-60x26.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2024\/10\/wpx-filemanager-login-100x44.png 100w\" sizes=\"auto, (max-width: 1691px) 100vw, 1691px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2. Locate and access the <code>wp-config.php<\/code> file<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The file is located in the <code>public_html<\/code> folder, which is the directory you are taken to immediately after opening the File Manager.<\/li>\n\n\n\n<li>Double-click on the <em><code>wp-config.php<\/code><\/em> file or right-click and choose <strong>Open<\/strong> to enter edit mode.<\/li>\n\n\n\n<li><strong>Find the lines<\/strong> that start with <em><code>define('WP_HOME'<\/code> <\/em>and<em> <code>define('WP_SITEURL'<\/code><\/em>, then comment them out using <code><strong>#<\/strong><\/code> or <code><strong>\/\/<\/strong><\/code> (the text color will change to a brown color once the rules become inactive), or simply delete them.<\/li>\n\n\n\n<li>Click <strong>Save<\/strong>. <\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0c795&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0c795\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"351\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout.png\" alt=\"\" class=\"wp-image-14662\" style=\"width:615px;height:auto\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout.png 820w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout-300x128.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout-768x329.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout-50x21.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout-60x26.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/fm-wpconfig-commentout-100x43.png 100w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">After saving the changes, clear your cache to ensure the updates take effect. You can also try accessing the site in a different browser or using Incognito\/Private mode to rule out cached redirects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Site Not Found<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>&#8220;Site Not Found&#8221;<\/strong> message, or the <code><strong>DNS_PROBE_FINISHED_NXDOMAIN<\/strong><\/code> error, is one of the most common reasons why you may not be able to access your staging site.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0d32c&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0d32c\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"529\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR.png\" alt=\"\" class=\"wp-image-11328\" style=\"width:556px;height:auto\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR.png 735w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR-300x216.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR-50x36.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR-60x43.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/DNS_ERROR-100x72.png 100w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This error typically means that the staging site isn\u2019t pointed to WPX. Since the staging site is essentially a <strong>subdomain<\/strong> of your live site, it must be pointed to WPX through your domain\u2019s <strong><a href=\"https:\/\/wpx.net\/kb\/what-is-an-active-dns-zone\/\" target=\"_blank\" rel=\"noreferrer noopener\">DNS zone<\/a><\/strong>. To do this, you need to use the <strong>Server IP<\/strong> found in your WPX account.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">If the DNS zone of your live site is already managed by WPX, this step is <strong>not necessary<\/strong>\u2014your staging site is automatically pointed, and no further action is required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the staging site is pointed to WPX but you&#8217;re still seeing the error, please note that DNS changes can take some time for the records to <strong><a href=\"https:\/\/wpx.net\/kb\/what-is-dns-propagation-and-why-it-can-take-up-to-48-hours\/\" target=\"_blank\" rel=\"noreferrer noopener\">propagate<\/a><\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Security Certificate Error<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This error appears when the staging site <strong>doesn\u2019t have an active SSL certificate<\/strong> but is being accessed via HTTPS.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a7b576d0e777&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a7b576d0e777\" class=\"wp-block-image size-full is-resized wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1008\" height=\"669\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR.png\" alt=\"\" class=\"wp-image-11332\" style=\"width:547px;height:auto\" srcset=\"https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR.png 1008w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR-300x199.png 300w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR-768x510.png 768w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR-50x33.png 50w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR-60x40.png 60w, https:\/\/wpx.net\/kb\/wp-content\/uploads\/2022\/06\/SSL_ERROR-100x66.png 100w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There\u2019s nothing to worry about\u2014it\u2019s a common and easy-to-fix issue.<br>To resolve it, simply install one of our <strong><a href=\"https:\/\/wpx.net\/kb\/how-can-i-install-a-free-ssl-certificate-on-my-website\/\" target=\"_blank\" rel=\"noreferrer noopener\">free SSL certificates<\/a><\/strong> from your WPX control panel.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">And that\u2019s all! We hope this guide helped you resolve the issue with your staging site and get everything back on track.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Have more questions? Contact the WPX Support Team through the live chat widget in the bottom-right corner, and they\u2019ll assist you promptly, typically within 30 seconds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your staging site isn\u2019t loading or behaving as expected, don\u2019t worry\u2014it\u2019s usually something simple. In this article, we\u2019ll walk you through the most common reasons why that might happen and how to fix each one. Since some of the fixes require access to your site\u2019s files, we recommend logging&#8230;<\/p>\n","protected":false},"author":16,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":3,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","inline_featured_image":false,"footnotes":""},"ht-kb-category":[24],"ht-kb-tag":[],"class_list":["post-7045","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-staging-area"],"_links":{"self":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/7045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/comments?post=7045"}],"version-history":[{"count":61,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/7045\/revisions"}],"predecessor-version":[{"id":14663,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb\/7045\/revisions\/14663"}],"wp:attachment":[{"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/media?parent=7045"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=7045"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/wpx.net\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=7045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}