Info Node: (wget.info)Relative Links

CFHT HOME wget.info: Relative Links


up: Following Links next: FTP Links prev: Directory-Based Limits Back to Software Index

4.4 Relative Links
==================

When ‘-L’ is turned on, only the relative links are ever followed.
Relative links are here defined those that do not refer to the web
server root.  For example, these links are relative:

     <a href="foo.gif">
     <a href="foo/bar.gif">
     <a href="../foo/bar.gif">

   These links are not relative:

     <a href="/foo.gif">
     <a href="/foo/bar.gif">
     <a href="http://www.example.com/foo/bar.gif">

   Using this option guarantees that recursive retrieval will not span
hosts, even without ‘-H’.  In simple cases it also allows downloads to
“just work” without having to convert links.

   This option is probably not very useful and might be removed in a
future release.


automatically generated by info2www version 1.2