Support » Fixing WordPress » What the heck happened to all of my posts?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Your permalinks are messed up. Did you recently do an update/upgrade?

    I’ve upgraded several times since it’s happened.

    Do you know how to fix it? My permalink settings say that’s the right format.

    Some hosts do not recognize new .htaccess files immediately. Which is why I asked if you upgraded recently.

    These should lead you in the right direction.

    Check out this thread:

    And this section of the codex:

    oh, well it’s been like this for over a month, so I’m not sure if it’s an .htaccess updating problem.

    I switched to “pretty” permalinks a while ago and they worked well for a god amount of time. These posts were previously accessible at those URLs.

    Now, even when I use the “ugly” format ( for example) it tries to load the “pretty” version and gives a 404.

    Also, would an htaccess problem affect ?

    Have you reset your permalinks backs to “ugly” in your dashboard? Or are you manually typing in in your address bar?

    Try activating the default theme, uninstalling any plugins you may have, and refreshing your browser.

    I just changed it back to ugly and all the links work. Then I changed it to pretty and they no longer worked.

    Am I stuck with ugly?

    No, something might be wrong with your .htaccess file which is preventing WP from being able to write the pretty urls or something is messed up in your WP re-write files. Typically it’s a .htaccess issue.

    Check your .htaccess file, what’s in it? It should look something like this:

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

    Also, make sure WP has access to it and can write to it.

    Ah I got it! Thanks!
    Somehow, my .htaccess from my main site got into the wordpress directory.

    I replaced it with what you provided, and it works great.

    Thank you for your patience and insight!

    Hey no problem! Glad I could help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘What the heck happened to all of my posts?’ is closed to new replies.