** Edit **
Did you check your folder structure ?
did you rename the wordpress folder ?
have nested folders ?
** end edit **
@ allan z – that will not (always) work for an existing site , due to a multitude of reasons .
the best way is to either follow these instructions here :
Moving wordpress to another server
or , do it manually , like I usually do , which is :
-
FTP ALL your files to the new server. (ALL means ALL, as is – including images, plugins, theme)
-
Update wp-config with new data. (install folder, DB…)
-
manually execute those SQL sentences :
/**
To update WordPress options with the new blog location:
**/UPDATE wp_options SET option_value = replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’) WHERE option_name=”home” OR option_name=”siteurl”;
/**
fix URLs of the WordPress posts and pages:
**/UPDATE wp_posts SET guid = replace(guid, ‘http://www.old-domain.com’,’http://www.new-domain.com’);
/**
fix all internal links to own blog in all WordPress posts and pages:
**/UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);