I’m having difficulty moving over my WordPress blog to a new host. Every time I go to log into my wp-admin panel, it keeps redirecting me to my old installation on localhost.
I’ve even ran SQL queries as noted here to update my urls, http://www.mydigitallife.info/how-to-move-wordpress-blog-to-new-domain-or-location/ but every time I go to log in, it reverts back to localhost and I have to repeat the process over again. Any ideas?
Try this: http://codex.wordpress.org/Changing_The_Site_URL
Check inside
wp-config.php
to see if this is set:Replace “example.com” with your domain.
Setting this into
wp-config.php
file worked for me:If using HTTPS change the value for
wordpress-https_ssl_host
in thewp_options
table.Add the below line into
wp-config.php
config file: