您好,欢迎访问一九零五行业门户网

Override WordPress?URL

when i migrated my website between media temple servers, i wanted to manually test the site to ensure no server configuration differences between the server were bricking the site. ?the obvious problem i would encounter is that links would
when i migrated my website between media temple servers, i wanted to manually test the site to ensure no server configuration differences between the server were bricking the site. ?the obvious problem i would encounter is that links would be broken because the site wasn’t living on my domain name yet. ?i did some research and found a way to easily override the wordpress site and home urls:
define('wp_home', 'http://867.53.0.9');define('wp_siteurl', 'http://867.53.0.9');
defining these values within the wp-config.php file allows me to override the database values for the home and site-wide domain settings; ?now the site is easily testable before flipping the switch on domain settings!
read the full article at: override wordpress url
其它类似信息

推荐信息