| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
URL Relative Syntax and Base URLs (Page 4 of 4) Improving Document Portability Using Relative URLs There is one other very important benefit of using relative URLs: avoiding absolute URLs in a document allows it to be more portable by eliminating hard-coded references to names that might change. Going back to our previous example, if the guy maintaining the site http://www.longdomainnamesareirritating.com/ uses only relative links to refer to graphics and other embedded objects, then if the site is migrated to www.muchshortername.com, he will not have to edit all of his links to the new name. The significance of this in Web URLs is explored further in the detailed topic on HTTP URLs.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. |