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

Accidentally changed site URL WordPress


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)


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']);


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.


Utkarsh Kukreti answers:

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


with being your site's path.


Lee Rickler answers:

Various ways you can do this without admin access -


John Cotton answers:

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