[wp-hackers] wouldn't internal links be more efficient?

DD32 wordpress at dd32.id.au
Sun Feb 1 23:17:03 GMT 2009


The other reason is that plain 'bla' links generally wont work due to
permalinks, using '/blah' would always work, but it doesnt save much
transfer time at all.. esp. once compression kicks in.

You can filter the site_url() function which'll allow you to set
relative links for most of the front end and admin if you please (just
do a str_replace('http://mysite.com/','',$url);)

2009/2/2 scribu <scribu at gmail.com>:
> One reason might be the fact that you can have encrypted pages that begin
> with https://
>
> On Mon, Feb 2, 2009 at 1:02 AM, <jidanni at jidanni.org> wrote:
>
>> Gentlemen, I notice large parts, but not all, of WordPress produced
>> HTML has absolute URLs href="http://..." when internal links
>> href="/bla" or even href="bla" would be more efficient.
>>
>> It seems that there is nothing the user can do about this from the
>> admin panels.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list