I am transferring a sub domain website (sub.site.com) to a new host and server which will also be a new sub domain (sub.newsite.com).
What I have done:
- moved over the database
- moved over site files
- updated setting.php file
What happens?
I get a HTTP Error 500 Internal Server Error page.
What did I find?
If I create a new database and update the settings.php file to the new database the site works.
Whats interesting?
It seems that all the files are fine but it is my database that is causing the issue.
What have I tried?
Cleared the cache and sessions table, enabled base rewrite.
This may seem obvious to someone else but I just can't think of a reason why a new database is working but my transferred database is not?
Is there something in the database that I need to update? or .htaccess file?
Any help would be appreciated. Thanks.
.htaccess file
#
# Apache/PHP/Drupal settings:
#
# Protect files and directories from prying eyes.
Order allow,deny
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# Follow symbolic links in this directory.
# For security reasons, Option followsymlinks cannot be overridden.