[wp-hackers] Absolute vs. relative URLs
leonid at mamchenkov.net
Sun Apr 22 10:27:37 GMT 2007
On 4/22/07, Jeremy Visser <jeremy.visser at gmail.com> wrote:
> > While we managed to somewhat automate the process, it's still error
> > prone and doesn't work very well in some situations, such as, for
> > example, several domains per web site.
> This has a problem with things like RSS feeds opening in external
> viewers not working properly, and I also encounter problems with
> things like pinging. WP should be smart enough to do this, but seeing
> as though the market for relative URLs is smaller, it doesn't seem to
> have been implemented.
> Something like a wp_absolute_url($url, $base) function might be handy
> for if you need to force an absolute URL.
Indeed. RSS feeds and pinging functionality are a form of
presentation. They have nothing to do with how things are implemented
internally. After all, all systems that use relative URLs still
present absolute ones in the browser's address bar.
More information about the wp-hackers