[wp-hackers] WP Development & Production Sites

Ryan Bilesky rbilesky at gmail.com
Mon Nov 29 09:36:52 UTC 2010


What is the problem with storing relative URL's from the WP root in the
database, then have a contant in wp-config to store the site URL and when
called upon prepend the relative path with the site URL constant from
wp-config?  Does PHP really take a lot of processing to combine two
strings?  This way you move you site for whatever reason, you found a better
URL you like, or you're moving from stating to production, all it takes is a
simple change in wp-config.


More information about the wp-hackers mailing list