logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

41
DAYS
18
HOURS
51
MINUTES
30
SECONDS
Black Friday Sale: Best Web Hosting
From ₹45.00 /Month!
See All Deals
×

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.