top | item 9573278

(no title)

MichaelTieso | 10 years ago

You can change the sites domain within `wp-config.php` too. See http://codex.wordpress.org/Editing_wp-config.php#WordPress_a...

discuss

order

Domenic_S|10 years ago

I have never had good luck with that. Some generated URLs still use the DB value and so forth. Perhaps it's an indictment of plugin developers vs WP core. I still cannot think of a good reason for that value to be in the DB at all.

MichaelTieso|10 years ago

I won't go into detail on that here but know that there's a very good reason for it. Plugin and theme developers should be using for example `esc_url( home_url( '/' ) );` when requiring the URL of the site.