New Year Offer 82% OFF
00
DAYS
12
HOURS
30
MINUTES
26
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
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
From
$
1
45
/mo
Save 82%
Get started