Manually Change the URL of your WordPress Site without WordPress Login

If you have FTP access, you can put the code below in the wp-config.php file and it change the URL of your WordPress site.


/**Website URL overide*/
define('WP_HOME','http://dev.mywebsite.com/');
define('WP_SITEURL','http://dev.mywebsite.com/');

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.