[wp-hackers] absolute URLs in plug-ins and custom types

Shasta Willson shastaw at gmail.com
Wed Jul 4 18:29:58 UTC 2012


On Tue, Jul 3, 2012 at 7:34 AM, Bill Erickson <bill.erickson at gmail.com> wrote:
> It's much easier to migrate a site with absolute URLs than it is with
> relative URLs. Try using a script like this to update the URLs in the

Ok, I've been thinking about this for two days.

Why would it be preferable to do a search and replace through the
database to update absolute URLs, rather than simply use relative URLs
(or IDs -- interesting idea) in the first place?

- Shasta


More information about the wp-hackers mailing list