[wp-hackers] siteurl and home should not be in the mysql database
ag.ml2007 at zirona.com
Fri Jun 15 09:58:51 GMT 2007
On Fri, 2007-06-15 at 11:04 +0200, Gali wrote:
> I am working on a WP customisation, and have to make SQL import /
> export on a daily basis.
> While the wp-configure.php (including db options) is different on the
> local and remote installation (which is good), I have to manually
> change the "siteurl" and "home" options (in wp_options) every time I
> upload the SQL dump from local to remote.
> It would be better if these options were included in the
> wp-configure.php instead of the database.
Add the line
to your wp-config.php (sic!), then log in via wp-login.php and go to the
Options page to change home and siteurl.
Alex Günsche, Zirona OpenSource-Consulting
http://www.zirona.com/ | Hilfe für das HQ AC: http://www.prohq.de
PubKey for this address: http://www.zirona.com/misc/ag.ml2007.asc
More information about the wp-hackers