wp config define site url code

Define('WP_SITEURL','http://example.com'); - This line of code sets the WordPress site URL to the specified value, in this case 'http://example.com'. Define('WP_HOME','http://example.com'); - This line of code sets the WordPress home URL to the specified value, in this case 'http://example.com'.