Answers for "change url wp"

PHP
8

wp-config change url wp-config

define('WP_HOME','http://example.com'); 
define('WP_SITEURL','http://example.com');
Posted by: Guest on May-22-2020
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
1

update url wordpress

<?php
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );
Posted by: Guest on December-22-2020

Browse Popular Code Answers by Language