SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2001
    Location
    Dubai
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Website Navigation

    Can anyone explain the difference between the following terms

    1. Relative Links in a website
    2. Fully Pathed Links
    3. Absolute Links

    Cheers

    Adil

    ------------------

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Location
    Warrensville, OH, USA
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Website Navigation

    There are two types of relative links
    1)relative to the root links (eg. ). Say your root is <A HREF="http://www.yoursite.com," TARGET=_blank>www.yoursite.com, having the forward slash (/) at the beginning of the url will always start from the root and you specify where to go from there.
    2)relative to the directory links (eg. ). Say this link is located on <A HREF="http://www.yoursite.com/folder1/index.html." TARGET=_blank>www.yoursite.com/folder1/index.html. This link will look for a file called "pagename.html" that is located in the folder "folder1".

    Absolute links look like <a href="www.yoursite.com/folder1/index.html"> OR <a href="http://www.yoursite.com/folder1/index.html">

    Best practice for linking within your site is to use Relative links. Reason being, say you have a three stage setup where you have a development server and stage server and a production server. All three boxes have different root name (eg. dev.yoursite.com, stage.yoursite.com and www.yoursite.com). When you move your site from box to box all your links will still work.

    Use absolute links when you are linking outside your site.


    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:10 AM.

Copyright BetaSoft Inc.