Results 1 to 3 of 3
  1. #1
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,341
    If you want to link to a page within the same directory as the one that the link is coming from, which is correct:

    /the-other-page.html

    or

    the-other-page.html?

    What exactly does the '/' do/mean?


    <a href="http://ez-search-engine-optimization.com/reviews/sitemap-builder/site-map-builder.php">Download Site Map Creator Today</a>

  2. #2
    Newbie dtrenck's Avatar
    Join Date
    January 18th, 2005
    Posts
    33
    perfectG:

    the correct way to link is without the slash, provided that the page is in the same directory as the one that the referring link is in.

    each slash represents the directory and subdirectory structure on your website.

    anything in your root directory (www) is located at /.

    anything in a folder below your root directory can be referenced by /directoryname/

    however, if all of your files are in your root directory and all of the links reference files in the same root directory than you can use the slash because your files are physically behind the /.

    Make sense?

    Regards,

    Dave

  3. #3
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    2,341
    Thanks Dave
    Perfect Sense.


    <a href="http://ez-search-engine-optimization.com/reviews/sitemap-builder/site-map-builder.php">Download Site Map Creator Today</a>

  4. Newsletter Signup

+ Reply to 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
  •