Answers for "how to change the site and home url in wordpress using wp-config"

PHP
5

wordpress change site address

// Add to top of wp-config.php
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
Posted by: Guest on May-06-2020
0

change site url wordpress database

options table
1. siteurl
2. home

######## OR ########

// Add to top of wp-config.php
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
Posted by: Guest on December-18-2020

Code answers related to "how to change the site and home url in wordpress using wp-config"

Browse Popular Code Answers by Language