How to Fix 500 Internal Server Error for WordPress Sites

Have you ever gotten an error message “500 Internal Server Error” one time while opening your website?
Here’s a quick and simple solution for you to try.

Check your .htaccess file. Usually the problem is there.

In my case, here’s what I have when I still have the error:

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

# END WordPress

Notice that the code duplicates for whatever reason (If you know why, please comment. Thank You =)

The solution is simple, remove the duplicate code. Of course!

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

# END WordPress

That’s it!

My website is running on wordpress platform. So if you’re also using wordpress and you’ve experienced this error, you could give this solution a try!

If your using other platform, checking the .htaccess file is still the way to go! There are still other solutions that you could try and check if this doesn’t work for you. Goodluck! =)

Shutterbugs Design

Comments

2 responses to “How to Fix 500 Internal Server Error for WordPress Sites”

  1. repair registry errors Avatar

    Nice website! I enjoy a couple of from the articles which have been written, and especially the comments posted! I am going to definately be returning!

  2. Jackson Paradowski Avatar

    wow, great, I was wondering