Changing Site Path to a new one

I am running low on my C Drive and wanted to change the default directory to a new volume dedicated to Local Sites only. However, when I am creating a new site under default location (username\Local Sites) it works fine but under new volume I am getting 404 Site Not Found Error.

The default location is “username\Local Sites” -> Working Fine
New one is “G:\Local Sites” -> 404 Site Not Found

Hey @mohizahmad123 – I haven’t done much testing of Local spanning multiple partitions, but right now, I think that Local might have trouble (as you’re experiencing)

One of the hurdles is that even if the site files are located on a different partition, there’s still a number of files specific to the runtime environment that are located on the C:\ drive.

This includes things like the raw DB files as well as the various configuration settings for Nginx/Apache and PHP.

In terms of trying to workaround this, you might take a closer look at the Local Router log (“Help > Reveal Local Router’s Log”).

This is the actual NGINX log for Local’s router, which helps to point the browser directly to the WordPress site. If you are seeing a 404 Site Not Found, there’s likely more info in that log.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.