Black Friday Sale 90% OFF
07
DAYS
08
HOURS
17
MINUTES
15
SECONDS

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.

 

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Free Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Black Friday Sale
From
RM
2
99
/mo
Save 90%
Let's go!