Put this in your theme template functions.php
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );
Put this in your theme template functions.php
update_option( 'siteurl', 'http://example.com' );
update_option( 'home', 'http://example.com' );