• I’ve just migrated my webpage (http://www.joangg.com) from a CentOS 6 VPS (with Plesk and PHP 5.3) to an Ubuntu Digital Ocean droplet (with Plesk and PHP 5.5). I’ve tried to migrate my webpage with Plesk’s migration tool and manually (copying the files and exporting-importing the database) but the same error appears: the webpage works perfectly but if I access */wp-admin I can enter the username and password but then it redirects my to */wp-login showing a blank page (if I use IE it shows an Error 500).

    I’ve used Google and I tried adding “DirectoryIndex index.html index.htm index.php” to the .htaccess file without success. Rewrite module is enabled.

    Do you know how can I solve this? Should I change something if I perform a migration between servers with different PHP versions? Maybe some modules are necessary and I haven’t installed them (which ones are essential?)?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Is there anything in the php error log that would be of use? Is your default php memory_limit too low?

    Thread Starter joangg

    (@joangg)

    I’ve just changed the php memory_limit to 256M to test and nothing changes.

    Where can I find the php error log?

    When you move a site, you must replace the old URLs and paths with the new ones. Some of these are stored in the database in ‘serialized’ form where the string length is stored along with the string. You must use special tools to search and replace the old values with the new ones.

    If you replace an old URL with a new one of a different length, it will break the serialization, causing many different problems.

    If the old site is still available, you can use the steps shown in this article to copy the site: http://wordpress.mcdspot.com/2012/08/22/migrating-a-wordpress-site-step-by-step/

    If the old site is not available, and you still have a copy of the database from that site, you should be able to use this tool to make the changes: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Thread Starter joangg

    (@joangg)

    I think this can’t be the problem, because the URLs and path have the same name in both servers. Same domain name, but pointing to a different IP. Now it’s pointing to the old server, waiting for the new one to work properly…

    Did you check that the data paths are the same?

    For example GoDaddy uses paths like this: /home/content/42/83073127/html/yourdomain.org

    and HostGator paths look like this: /home3/username/public_html

    Thread Starter joangg

    (@joangg)

    Yes, the data paths are the same: /var/www/vhosts/joangg.com/httpdocs in both servers.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't acces the admin area after migration’ is closed to new replies.