Forum Moderators: open

Message Too Old, No Replies

Quick link question

I'm losing it!

         

hightraffic10

3:28 pm on Feb 10, 2003 (gmt 0)

10+ Year Member



I didnt get enough sleep so this question might be alittle out there. But when linking to your index page from other internal pages will index.html give you credit for a link to the home page or does it need to be linked to the url?

Which one is right?

A. <a href="index.html">Home</a>

or

B. <a href="www.homepage.com">Home</a>

Nick_W

3:46 pm on Feb 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Best to make it 'root relative' then if the page moves the link is not broken. Like this:

<a href="/">Home</a>
<a href="/subcat/">subcat</a>
<a href="/subcat/moresubcats/">More</a>

Nick

glengara

3:47 pm on Feb 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As nearly all incoming links to the main page are to the .com, I've recently changed my internals from index.html to mirror that.
Can't say I've noticed any great effect yet though ;-)