Forums

[resolved] After moving from sub-directory to root, all pages stop loading (5 posts)

  1. 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!

  2. 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".

  3. esmi
    Theme Diva & Forum Moderator
    Posted 11 months ago #

  4. 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!

  5. levelsevenltd
    Member
    Posted 11 months ago #

    thanks esmi. found a way to solve the problem as stated above.

Reply

You must log in to post.

About this Topic