Knowledge base

Find articles about information features, troubleshooting guides, and other technical information related to the hosting service Hostinger.

Saturday, June 24, 2017
How to change Wordpress URL from wp-config file
To change WordPress URL you need to put this code into the wp-config.php file:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

Keep in mind that you need to change the domain name from example.com to your domain name.

 

wordpressurl changewordpress url