Site Downtime: Internal server error
How-To Fix Wordpress 500 Internal server error
I’ve been messing up with my redirections from my old free sub domain host to toomuchfew.info when suddenly one of my friend message me that my site is down with the Error code: 500 Internal server error and I was convinced that I’m the one who made some mis configuration on my website. I changed again the redirection I made but still the error persist after several minutes.
Logon to CPanel then checked the error logs
- Analysis and Log files
- Error Logs
[Sun Oct 26 02:50:04 2008] [alert] [client xx.xxx.xxx.xx] /home/USERNAME/public_html/.htaccess: Invalid command ‘</IfModule>RewriteCond’, perhaps mis-spelled or defined by a module not included in the server configuration[Sun Oct 26 02:50:04 2008] [alert] [client xx.xxx.xxx.xx] /home/USERNAME/public_html/.htaccess: Invalid command ‘</IfModule>RewriteCond’, perhaps mis-spelled or defined by a module not included in the server configuration[Sun Oct 26 02:48:17 2008] [alert] [client xx.xxx.xxx.xx] /home/USERNAME/public_html/.htaccess: Invalid command ‘</IfModule>RewriteCond’, perhaps mis-spelled or defined by a module not included in the server configuration[Sun Oct 26 02:48:17 2008] [alert] [client xx.xxx.xxx.xx] /home/USERNAME/public_html/.htaccess: Invalid command ‘</IfModule>RewriteCond’, perhaps mis-spelled or defined by a module not included in the server configuration
[Sun Oct 26 02:48:17 2008] [alert] [client xx.xxx.xxx.xx] /home/USERNAME/public_html/.htaccess: Invalid command ‘</IfModule>RewriteCond’, perhaps mis-spelled or defined by a module not included in the server configuration
- Error Logs
- The problem is within /public_html/.htaccess so what I did for the quick fix was delete .htaccess from CPanel File Manager (you can also do it via FTP) then let it generate new one.
- You can now access your website.
If you are using Permalinks in Wordpress, you will still have error when viewing your post (oops! page not existing)
To Fix it:
- Login to your Wordpress Admin Page
- Go to Settings then click on Permalinks
- at the bottom of your Permalinks page you’ll something like this:
<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>
- Copy and paste the code into your /public_html/.htaccess then save it



October 26th, 2008 at 9:43 pm
I also had problem when accessing my website using http://www.toomuchfew.info and got an error similar to this: public_html/wp-includes/pluggable.php on line 770. What I did was manage the redirection again, I selected my domain name choose ” Only redirect with http://www. ” option then set redirection to http://toomuchfew.info
It temporarily fix the problem and I still finding out what is the cause of that issue.
October 26th, 2008 at 11:53 pm
Oh.. hope everything will be fine. Btw, I’m having difficulty logging in to my administration system. It says that I have entered invalid username!!!!
What’s happening!!??