Welcome to WebmasterWorld Guest from

Forum Moderators: mademetop

Message Too Old, No Replies

Including http:// In Anchor Link



5:38 am on Mar 6, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

Hi All,

It might be a trivial issue, but wanted to hear your opinion on this.

Does it make a difference if you link to pages on your website using the link example.com/index.html instead of http://example.com/index.html ?

Do search engines see it differently?


7:34 am on Mar 6, 2010 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

if it is linked to from a url that specifies a different schema, for example the https: protocol, the search engines would link to and therefore index it separately from the http: specification.


8:06 am on Mar 6, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

Thank you Phranque.

The reason I have put this question is that I shall be moving my website from [example1.com...] to [example2.com...] and I will have to hence modify all the internal links from my 1200+ pages.

I thought if I may simplify my work by merely removing the "http://example1.com" from the internal links instead of replacing each of those with a "http://example2.com". Doing so, I see links to the page without http prefix

And thankfully, all my pages are on http protocol only. I guess then that this should ok?


10:30 am on Apr 4, 2010 (gmt 0)

5+ Year Member

Use "/index.html" or simply "/" to link to main page.


9:41 am on Apr 5, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I may be misunderstanding, but if you put:

<a href="example.com/index.html">some link text</a>

on your page, then the landing page will be:


and thats probably not what you want.

You can put:

<a href="http://example.com/index.html">some link text</a>


<a href="/index.html">some link text</a>

or a couple of other variants - but you can't leave off the http as you describe!


5:28 pm on Apr 7, 2010 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

Thank you leadegroot and Sevamaster...I have been doing just that now..

Featured Threads

Hot Threads This Week

Hot Threads This Month