Results 1 to 8 of 8
  1. #1
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    I have been using absolute URL's in my href tags (intra-site/domain) for example "http://www.mparticularsite.com/images/logo.gif"

    Would putting in a root relative or document relative URL "/images/logo.gif" or "../images/logo.gif" change the possible ranking of a page as opposed to the absolute URL?

    Obviously, the browser reads them pretty much the same, do the SE's assume root or document relative URL's reference the domain that page sits on?

    Thank you,

    Fred

  2. #2
    Member
    Join Date
    January 18th, 2005
    Posts
    161
    Wont make a blind bit of difference. I've run sites both ways and they're treated just the same...

    root relative is best though, in case you have to change domain or if, like me you build on a home server and upload when it's "right". Saves a lot of hassle [img]/infopop/emoticons/icon_wink.gif[/img]

    Nick

  3. #3
    ABW Ambassador webmarm's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,713
    I use absolutes since switching most navigation to SSI. Saves a lot of hassle. [img]/infopop/emoticons/icon_wink.gif[/img]

  4. #4
    ABW Ambassador Doc Sawyer's Avatar
    Join Date
    January 18th, 2005
    Location
    Southern California Desert
    Posts
    567
    Interesting!

    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>root relative is best though, in case you have to change domain ... Saves a lot of hassle <HR></BLOCKQUOTE>

    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>I use absolutes since switching most navigation to SSI ... Saves a lot of hassle<HR></BLOCKQUOTE>

    I can when appreciate running root relatives, it would be simple to change domains/servers but how could absolutes EVER save a lot of hassle?

    Thanks,

    Doc

  5. #5
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    ÄúsTrálíĺ
    Posts
    1,372
    When you move run things through different directories, absolute is a must.

    If you SSI the same header on every page, regardless of the cirectory location, absolute is the only way to go.

    Otherwise you get a heap on little red x's.

  6. #6
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    I'm still leaning toward absolute.

    Changing domains is no big deal with find/replace in my web design app., but a good point [img]/infopop/emoticons/icon_smile.gif[/img]

    More opinions are good!!!

    Thank you.

    Fred [img]/infopop/emoticons/icon_smile.gif[/img]

  7. #7
    ABW Ambassador webmarm's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,713
    What Pete said. [img]/infopop/emoticons/icon_wink.gif[/img]

    Calling the same navbar file from mydomain.com/thisdirectory.htm and calling it from mydomain.com/widgets/thatdirectory.htm saves me lots of time, and I can update everyone's navbar from one file. However, since I do like subdirectories for many reasons, keeping the navbar in absolutes means I can call it from any subdirectory and not worry that index.html should really be ../index.html or even ../../index.html relatively.

    Back when I was learning webmistressing I almost never would have used absolutes, and I never would have used the anchor text CLICK HERE (what you think I'm stupid and can't find a link?). But empiricism has won out. If absolutes keep my includes correct no matter where I call them, then so be it. If shoppers like to have the link text tell them to click it, so be it.

    Of course, it is a hassle when the DNS hasn't gone through on a new domain yet or testing on the home system first, but since it's an include I can always change it later from one file.

  8. #8
    ABW Ambassador buy_online's Avatar
    Join Date
    January 18th, 2005
    Location
    Richmond, VA
    Posts
    3,234
    Thanks Webmistress [img]/infopop/emoticons/icon_smile.gif[/img] I like the "CLICK HERE" thing, it's a classic call to action. What you are really doing is closing the sale when you ask them to do that. I'll have to use it more often.

    Fred

  9. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How to make absolute links rather than relative
    By billbam in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: July 25th, 2008, 01:27 PM
  2. Relative EPC
    By yintercept in forum Commission Junction - CJ
    Replies: 2
    Last Post: April 10th, 2007, 11:29 PM
  3. Relative of devil
    By itsmelisa in forum Virtual Family and Off-Topic
    Replies: 4
    Last Post: March 16th, 2007, 01:51 PM
  4. Getting started - relative paths problem
    By htchmn in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: November 29th, 2006, 10:52 AM
  5. using relative urls in SSI includes
    By madmanbc in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: March 3rd, 2002, 03:02 PM

Posting Permissions

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