[wp-hackers] Absolute vs. relative URLs
Knut-Olav Hoven
hovenko at linpro.no
Mon Apr 23 11:19:53 GMT 2007
On Saturday 21 April 2007 14:50:09 Leonid Mamchenkov wrote:
> Absolute URLs is about the biggest problem in our
> development/deployment process for our customer's web sites. Since
> most of them already have web sites online, we can't develop under the
> target domain. We use a different host instead, and after everything
> is done and ready, we have to change the 'home' and 'siteurl' values
> in wp_options, 'guid' in wp_posts, and do a search-and-replace through
> the text of all pre-set posts and pages ('About us', 'Contact us', and
> whatever else the customer might have requested).
Check out a plugin i wrote that can be used to override options from the
database, such as home and siteurl.
http://wordpress.org/extend/plugins/df-fileconf/
--
Knut-Olav Hoven
Systemutvikler mob: +47 986 71 700
Linpro AS http://www.linpro.no/
More information about the wp-hackers
mailing list