I normally install WP in its own folder, typically under public_html, and I did so for my latest web project (it’s in "public_html/newsite"). The previous site is now in another directory on the same level as the new site (in "public_html/oldsite"). But now I need to access it and I can’t figure out how.
I’ve followed standard procedure for having the new site in a subdirectory. Thus the top-level index.php is directing site requests to the new site (with require __DIR__ . '/newsite/wp-blog-header.php';
), so any attempt to reach www.mywebsite.com/oldsite, or its Dashboard, just throws a 404 error.
I thought I could set up a subdomain (i.e. oldsite.mywebsite.com) and point it at that directory but that doesn’t seem to work…
Can anyone advise me on the best way forward? Thanks!