Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Accidentally changed site URL WordPress

  • SOLVED

Hi there! I changed my site URL, and as you can imagine my site no longer appears at the old URL. The information is still on the server, but I have no inerface to change the URL and address back to the original settings.

I didn't install the wordpress site so my knowledge is limited, and the help files were a bit over my head.

Help me get my site back and I will reward you handsomely. :)

Answers (5)

2010-11-09

Erez S answers:

Send me the username and password to the hosting and the old site url and I'll fix this for you


Erez S comments:

Or you can add this to your wp-config.php file in the beginning of the file:
define('WP_HOME', 'http://' . $_SERVER['SERVER_NAME']);
define('WP_SITEURL', 'http://' . $_SERVER['SERVER_NAME']);

2010-11-09

Andrzej answers:

Hi, I can help you on this. Can you pls contact me on Skype or email? will send you the detilas


Andrzej comments:

Prize seems to be good enough by the way.

2010-11-09

Utkarsh Kukreti answers:

Add the following line to your wp-config.php file


define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');


with example.com being your site's path.

2010-11-09

Lee Rickler answers:

Various ways you can do this without admin access - http://codex.wordpress.org/Changing_The_Site_URL

2010-11-09

John Cotton answers:

Have you tried sticking these two lines in your wp-config.php file?



define('WP_HOME','http://YOUR_URL/');
define('WP_SITEURL','http://YOUR_URL/');