[wp-trac] [WordPress Trac] #6599: Inpage URLs can be realtive instead of being always absolute.

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 5 10:49:21 GMT 2008


#6599: Inpage URLs can be realtive instead of being always absolute.
-------------------------+--------------------------------------------------
 Reporter:  hakre        |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.7      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 Wordpress has a long tradition of absolute URLs or URIs. Any link or href
 it stumbles over is tried to be converted in something absolute.

 Internet Hypertext Documents (HTML) is aware about two type of URIs/URLs:
 absolute and relative. A relative URL is converted to an absolute one by
 the client then.

 Wordpress can benefit if it starts to use relative URLs instead of
 absolute ones under many circumstances:

  * Output filesize will be reduced
  * Blogs can be moved more easy from one domain to another because the
 content is then more domain independent.
  * ...

 Places absolute URLs are used which can be easily replaced with relative
 ones are:

  * All the links inside a post
  * HTML HEAD for stylesheet and scripts
  * In the Admin, many javscript files are referenced with an absolute URI.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6599>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list