Solution:1
Already got it! I just needed to download sql buddy to the server and access the database then just change the url.
Solution:1
Already got it! I just needed to download sql buddy to the server and access the database then just change the url.
Solution:2
You can recover from this with FTP access; you can use MySQL/database access, but it’s not required.
With FTP access, you can add a few lines to either wp-config.php
or the theme’s functions.php
file.
Use this in wp-config.php
to “hardcode” the URLs you need, i.e. the site URLs before you changed them in settings:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Or in the theme’s functions.php file
:
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );
See Changing The Site URL « WordPress Codex for more details about these and other recovery methods.