Move to new server and new domain
-
My move hasn’t worked. Can someone help?
I downloaded all my wp files (and in the theme files changed various instances of “oldurl” to “newurl”). I also changed the wp-config details to suit the new mysql connection and deleted the wp-cache folder.
In fact the new location for the wp files (at asmallorange) is /public_html/blog1/ and the old location (at Yahoo!) had been /myname/blog1.
I exported the old database tables to my hard drive, changed all instances of oldurl to newurl and imported the tables to the new database using phpMyAdmin through cpanel. I checked that site_url and home in the wp-options table are set to newurl/blog1.
I have also added an index.php file in public_html as follows:
<?php /* Short and sweet */ define('WP_USE_THEMES', true); define('WP_IN_ROOTDIR', true); require('./blog1/wp-blog-header.php'); ?>
I just get blank pages when browsing to newurl or newurl/blog1 or to any known file in newurl/blog1. There is a related Images folder in public_html, and I can browse to the images it contains (which is why this seems to me to be a wp problem).
Any suggestions?
- The topic ‘Move to new server and new domain’ is closed to new replies.