Support » Fixing WordPress » Previews Not Working & 500 error when posted

  • I’ve been trying to create new posts on, and the preview isn’t working, it just shows my homepage (and it’s not a redirect). If I try to go to the post slug, I get a 404 error. If I try to publish the post, then go to the slug, I get a 500 error (you can see the same kind of 500 error if you go to even though the post is on the home page and made it into the rss feed). I cannot find any error log/messages to explain what’s going on. I searched the forums, but the only suggestion that seemed to fix other people’s problem was that the blog URL and site URL should be the same, but that’s already the case for me. This was happening in 3.1.2 and continues to happen in 3.1.3.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’ve found that generally is related to permalinks.

    Have you recently edited your .htaccess file?

    Sometimes, just re-saving the permalinks will do the trick. Not sure if that’s something you’ve already tried or not.

    Re-saving the permalinks didn’t fix the problem, but it did have an effect. Now the post slugs for drafts are 500 errors instead of 404.

    so back to the question, have you modified your .htaccess file recently? I’ve found that 500 internal server errors with WordPress almost always go back to that.

    I installed some security plugins that did modify the main .htaccess. I just emptied and re-saved permalinks, and I’m still getting 500 errors. All the .htaccess has now is this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Previews Not Working & 500 error when posted’ is closed to new replies.