You can change it back using one of the methods outlined here: Changing The Site URL. Be sure to read carefully before deciding which one will work best for you.
I changed it to http://localhost/mysite/wordpress, but it still not working. Now i have another problem – web site does not exist or unavaible.
If you installed wordpress in its own folder in the wampserver web root, then the address is //localhost/wordpress
If you installed it two folders deep, then the address is //localhost/folder_name/folder_name
Whatever that path is, that’s what your wordpress address needs to be.
For example: If your site path is
C:/wamp/www/{your-site-folder} OR C:/xampp/htdocs/{your-site-folder} then your URL will be http://localhost/{your-site-folder}
but if your site path is C:/wamp/www/{some-folder}/{your-site-folder} OR C:/xampp/htdocs/{some-folder}/{your-site-folder} then your URL will be http://localhost/{some-folder}/{your-site-folder}
This is my full path – C:\wamp\www\mysite\wordpress. I put http://localhost/mysite/wordpress and still not working. The error message is “localhost is unavaiable”.
I thing, it is imposible to get back my files. Is any way, how i can make new WP and copy there this lost web?
Hi,
I you still having same error and in your database your site data is exists then please try this tool. This tool replace all your entries to desire url.
Database search and replace script in php.
a) https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
(github url: https://github.com/interconnectit/Search-Replace-DB )
Thanks,
Ajay