WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Kitana Khan
    Member
    Posted 3 years 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. Kitana Khan
    Member
    Posted 3 years 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
    Forum Moderator
    Posted 3 years ago #

  4. Kitana Khan
    Member
    Posted 3 years 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. Kitana Khan
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic