New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Wordpress 500 Internal Server Error
Hi
I have just moved my wordpress blog from one cpanel server to other by using backup and WHM restore, now all webpages are giving 500 Internal Server Error. I have added below lines in .htaccess by that some page get start loading but wp-admin and other old pages still giving 500 error. Can anyone help me on this.
BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress
Thanks in advice for your help.
Comments
Your host can help you
If you have root access, check Apache error log
Paste the log here
Backup and whm restore usually don't lead to any website issues. You might wanna check the backup logs from old server if the backup was successful. It at times saves incomplete backups too.
Change permissions on your .htaccess to 777 login to WordPress back end save permalinks should fix it.
Most likely you didn't enable mod_rewrite. So enable it using the following command
a2enmod rewrite
and then reload or restart Apache2 and I hope it will fix your problem.
There is only one place that can provide the answer.
/usr/local/apache/logs/error_log
I don't recommend trying a bunch of random fixes, just get the answer from the logs and make the necessary change. Share the error log entry here if you need help interpreting it.
I've had this problem before when I moved a few WP blogs, and IIRC, these are the steps that I followed.