I tried to migrate my old blogs to a new server. The domain remained the same (it was also transfered to the new server). To perform this task I tried to follow these steps:
When I now visit the moved blogs, I get nothing more than the "infamous white screen of death".
The wordpress version seems to be 4.1.2 The moved blog should be found at / The old blog is at /
Can you help me to get this straight?
(X-post: )
I tried to migrate my old blogs to a new server. The domain remained the same (it was also transfered to the new server). To perform this task I tried to follow these steps: https://codex.wordpress/Moving_WordPress#Keeping_Your_Domain_Name_and_URLs
When I now visit the moved blogs, I get nothing more than the "infamous white screen of death".
The wordpress version seems to be 4.1.2 The moved blog should be found at http://yeara/odysseus/ The old blog is at http://speendo.cassiopeia.uberspace.de/odysseus/
Can you help me to get this straight?
(X-post: https://wordpress/support/topic/server-migration-white-screen-of-death)
Share Improve this question asked Aug 17, 2015 at 18:38 MarcelMarcel 1891 silver badge7 bronze badges 3- 1 You appear to be outputting PHP. You should speak to your host. – vancoder Commented Aug 17, 2015 at 18:48
- hm, this is my private server - I am my own host ... can you explain your assumption? – Marcel Commented Aug 17, 2015 at 18:51
- 1 Please provide debugging information, because a WSOD isn't very specific. – Nicolai Grossherr Commented Aug 17, 2015 at 19:02
4 Answers
Reset to default 2You may not have configured Apache. Add this line in your apache2.conf
file:
AddType application/x-httpd-php .php .htm .html
Evidently, you should make sure you actually have installed and activated the PHP module first and foremost (the above Apache directive might not even be necessary in this case). In this regard, you can visit the /etc/apache2/mods-enabled/
folder and look for the php5.load
, php5.conf
files.
So your domain at yeara/odysseus loads the following in plain HTML:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
Have you confirmed that PHP is installed on your new server?
It might be a problem with file permissions, maybe related to the method you use for uploading the files, or as @webtoure pointed out with your apache set-up. The content @DaleAllen pointed out is the index.php
of your WordPress installation. More critical I can see the content of your wp-config.php
by directly pointing at it.
Take a look at the codex articles:
- Changing File Permissions
- Hardening WordPress
to change the file permissions accordingly.
Do NOT forget to change all security relevant information! Because if I can see it, everybody can.
If the old blog and new blog have different domains then they didn't not remain the same. Share:
- current exact URL to the home page is intended to be?
- old exact URL to the home page was?
Without knowing more it seems like either a URL/directory issue or perhaps an issue with the files/database migration.