Error 500 When Loading WordPress
IT Problem
I had this error 500 in wordpress today when I ruined my site. I found out that the cause was a badly edited htaccess that I had edited in notepad, it screwed the formatting. I had no backup so I had to start a new htaccess the upload it to my site again.The error message was as below.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@yourwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
IT Solution
Ok so first create a file called “.htaccess”. You will then need to edit this file with notepad or any txt editor. If you want to edit it with CPanel then use this guide.
http://www.techieshelp.com/how-to-edit-htaccess-in-cpanel/
Once you are in the .htaccess file simply copy and paste the section below into it and save. This should fix the error.
# BEGIN WordPress ErrorDocument 404 /index.php?error=404 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress SecFilterEngine Off SecFilterScanPOST Off
You may need to check your permalinks and some plugins but all should be well now and you wordpress site will load fine.
Tags: wordpress