WordPress.org

Forums

Pages not found after moving to a new directory and back... (10 posts)

  1. Anomalous
    Member
    Posted 5 years ago #

    I decided to go from http://www.mysite.com/blog to http://www.mysite.com. I simply thought I would just move the files and then change everything once I did. Wrong. All of my links stopped working. I moved everything back, but they are still coming up as "page not found".

    Also, the logo image isn't working. I'm afraid I screwed my site up and will have to start from scratch. :( My settings are all correct, so I'm confused. Can anyone help, quickly?

    Thank you.

    Justin

  2. nouveller
    Member
    Posted 5 years ago #

    Have you tried following these instructions: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  3. Anomalous
    Member
    Posted 5 years ago #

    It did absolutely nothing for me... and now my homepage takes forever and a day to load, while the links still do not work. The admin page works fine, unless I try and view a link/homepage.

  4. Samuel B
    moderator
    Posted 5 years ago #

    a link to the site would help

  5. Anomalous
    Member
    Posted 5 years ago #

  6. Anomalous
    Member
    Posted 5 years ago #

    I'm thinking that exporting and reinstalling wordpress in the root directory might just be the easiest option.

    this really bites.

  7. Shane G.
    Member
    Posted 5 years ago #

    Hi,

    Also refer this article:

    http://codex.wordpress.org/Changing_The_Site_URL

    And reset your permalink from wordpress admin area and add this code in htaccess of your blog/site:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Thanks,

    Shane G.

  8. Anomalous
    Member
    Posted 5 years ago #

    The latter fixed the load time... a million thank yous.

    Now I just need to get the pages/links to load. Still showing "page cannot be found".

  9. Anomalous
    Member
    Posted 5 years ago #

    Could it be a database error?

  10. Anomalous
    Member
    Posted 5 years ago #

    Well, I don't really have the time (it's an e-commerce store) to wait. I guess I'll take the day and reinstall.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.