[wp-hackers] absolute URLs in plug-ins and custom types
Shasta Willson
shastaw at gmail.com
Wed Jul 4 18:42:40 UTC 2012
On Wed, Jul 4, 2012 at 11:32 AM, Bill Erickson <bill.erickson at gmail.com> wrote:
> If the client asks you to move the site to a subdirectory, all your
> relative links will be broken.
Uh..no..that's what relative URLs are specifically for.
> And even if you know your environment well and build your specific tool to
> use relative URLs, WordPress core uses absolute URLs for everything so
> you'd need to update those anyway (ex: any images inserted into posts).
That's a compelling argument!
- Shasta
More information about the wp-hackers
mailing list