Results 1 to 3 of 3

Thread: Relative links question

Hybrid View

  1. #1
    Join Date
    Dec 2010

    Talking Relative links question

    I found this example on this site http://bit.ly/zXAkj

    But it's not complete...

    The example:

    Relative Path URLs

    Relative paths change depending upon what page the links are located on. There are several rules to creating a link using the relative path:

    * links in the same directory as the page have no path information listed
    * sub-directories are listed without any preceding slashes
    * links up one directory are listed as


    I want to do the next:

    lets say i have a folder named "boom" in that folder i have two more folders "fol1" and "fol2"

    I want to create a pass from a file in "fol1" to the file in "fol2"

    How do i write that pass?

    i've tried "fol2/file.zip" and "boom/fol2/file.zip" both didn't work.


  2. #2
    Join Date
    Aug 2006
    To use a relative link, you'd use: "../fol2/file.zip"


  3. #3
    Join Date
    Dec 2010
    Worked like magic! Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles