Hi I developed a website in wordpress on my localhost then moved it to a live server. Everything is working fine except wp-admin. When I go to domain/wp-admin it shows a white screen. Yet when I go to domain/wp-login.php it allows me to login to the admin. Also if I try to create new post or update any settings it keeps showing a blank white screen, yet when refreshed has saved the settings/added the post etc.
The site is www.nuvogadgets.com.
Any ideas?
Thanks!
When you say moved WordPress, what do you mean exactly,
Did you copy your entire WordPress installation from your localhost to your remote server without installing WordPress first on your destination host?
Did you export your SQL database from localhost then import it to your remote server?
Did you install WordPress on your remote server before copying your theme folder across?
It’s likely that the parameters found under
Settings -> General
for both,Are both incorrect and still pointing to your localhost environment.
You should install WordPress from scratch on your remote server prior to copying over your theme instead of copying your entire WordPress folder from your localhost.
Otherwise if you want, login to your MySQL manager (likely phpMyAdmin) and edit the entries for,
Under the
wp_options
table.As suggested by Damien (in comments), there is of course a whole section on the Codex dedicated to this topic,
http://codex.wordpress.org/Moving_WordPress
In particular the following section title “If you forget to change the locations”, relates directly to the WordPress Address URL and Site Address URL mentioned above.
Whenever I copy over my WordPress to a new location I always take over my database modifier php script:
You can change the values here:
$replacement_values = array( 'http://oldurl' => 'http://newurl' );
to what you want to replace.