Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14120 reviews 1680 hosting providers

Questions & Answers

"WordPress Address" and "Site Address" problem

Nov 10, 2012 by DinoGuy
I changed the wordpress address and the site  address of one of my sites to the address of another one of my site. Meaning I have two wordpress sites site1 and site2, I was experimenting and changed the wordpress address and site address of site1 to the URL of site2 . So now my problem is the admin login of site1 became the admin of site1, and I am no longer able to log back to site1 to undo what I did.
How can I fix this? Please help

2 Answers

0 votes
Nov 10, 2012 by WebGuru
If you have FTP access to the site add the following lines in your wp-config.php  file
define('WP_HOME','http://yourURL.com');
define('WP_SITEURL','http://yourURL.com');
However you will no longer be able to edit them from your wp admin page anymore.
0 votes
Nov 10, 2012 by expert
There are several ways to do this, check
http://codex.wordpress.org/Changing_The_Site_URL