I have a live site that runs WP and exists in the server's public folder. I'm now in the process of designing a new version of the site that has a different structure. I chose to begin developing the site locally using MAMP. Locally, I created a fresh install of WP and imported the old site's WP info and database.
I developed the new site to a point. I now need to finish the new site's development live on the same hosted server as the old site but in a subdirectory.
I created the new subdirectory on the server, into which I moved the new site. I can login to WP and view the home page. However, when I visit any other page on the new site, I get redirected to the old site. The subdirectory is getting removed from the URL.
Am I attempting something impossible? Has anyone experienced this?
I currently have a subdomain (which actually exists within a subdirectory in the public folder) on the same server that runs WP as well. The subdomain works. So, I may be able to try changing the new site temporarily to a subdomain, though I'm not sure that will work.