Define website url

Define website url

Introduced in WordPress 2.2, WP_SITEURL and WP_HOME overrides the wp_options table value for home but does not change it permanently, which can be very useful when you move a website to a new domain.

define(‘WP_HOME’, ‘http://catswhocode.com’);
define(‘WP_SITEURL’, ‘http://catswhocode.com’);