[wp-hackers] WP_SITEURL and db update

Viper007Bond viper at viper007bond.com
Tue Jul 29 12:20:08 GMT 2008

What does it matter what the value in the database is? You shouldn't be
manually querying, so it won't affect you.

(get_)bloginfo('url') and 'wpurl' will return the correct values.

I use this exact feature so I can use a copy of a live site's database on my
local test machine without editing the database. It works 100% perfectly
fine even though the values in the database are "wrong".

On Tue, Jul 29, 2008 at 4:44 AM, Stefano Aglietti <steagl4ml at gmail.com>wrote:

> I read on the codex:
> Setting this value in wp-config.php causes the wp_options table
> option_value of siteurl to be set and disables the WordPress address
> (URL) field in the Administration > Settings > General panel.
> That I interpreted that setting the variable in wp-config will force
> this value to the database too. But it looks it doesn't do this. I'm
> wrong?
> --
> Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
> Email: steve at 40annibuttati.it steagl at people.it
> Sites: http://www.40annibuttati.it (personal blog)
>       http://www.wordpress-it.it (WordPress Italia)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Viper007Bond | http://www.viper007bond.com/ | http://www.finalgear.com/

More information about the wp-hackers mailing list