Limited Time Offer - from Rs. 45.00/month
01
DAYS
09
HOURS
18
MINUTES
54
SECONDS
Get Started
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's services

How to change Wordpress URL from wp-config file

Modified on:
wordpress url change wordpress url

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.

 

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
Rs.
45
00
/mo
Save 90%
Get started