levelsevenltd
Member
Posted 11 months ago #
After working on a WP site in a sub directory - using a custom theme and setting up the site's pages (a static site), I then moved it to the root directory and everything still worked just fine. But then I deleted the sub directory and all hell breaks loose!
With the exception of the homepage, no other page loads up. I even tried restoring the subdirectory and all the files that were in it, still no luck.
Need help!
levelsevenltd
Member
Posted 11 months ago #
I forgot to add that I can still login to p-admin normally and all my pages are listed there and their status remains "published".
levelsevenltd
Member
Posted 11 months ago #
halleluyah! :D
I thought to take a look at my .htaccess file (the one in the root directory) and saw references to the subdirectory like so "...subdirectory/". Taking them out worked the magic!
levelsevenltd
Member
Posted 11 months ago #
thanks esmi. found a way to solve the problem as stated above.