wordpress force url wp-config code example
Example: 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' );