Results 1 to 8 of 8
August 10th, 2002, 12:46 PM #1
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?
August 10th, 2002, 01:00 PM #2
- Join Date
- January 17th, 2005
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]
August 10th, 2002, 03:14 PM #3
I use absolutes since switching most navigation to SSI. Saves a lot of hassle. [img]/infopop/emoticons/icon_wink.gif[/img]
August 13th, 2002, 07:28 PM #4
<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?
August 13th, 2002, 08:47 PM #5
- Join Date
- January 17th, 2005
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.
August 13th, 2002, 09:14 PM #6
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!!!
August 14th, 2002, 02:40 AM #7
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.
August 14th, 2002, 06:27 AM #8
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.
By billbam in forum WebMerge (Fourthworld.com)Replies: 7Last Post: July 25th, 2008, 12:27 PM
By yintercept in forum Commission Junction - CJReplies: 2Last Post: April 10th, 2007, 10:29 PM
By itsmelisa in forum Virtual Family and Off-TopicReplies: 4Last Post: March 16th, 2007, 12:51 PM
By htchmn in forum WebMerge (Fourthworld.com)Replies: 6Last Post: November 29th, 2006, 09:52 AM
By madmanbc in forum Programming / Datafeeds / ToolsReplies: 3Last Post: March 3rd, 2002, 02:02 PM