Welcome to WebmasterWorld Guest from 54.196.232.162

Forum Moderators: mademetop

Message Too Old, No Replies

Using anchors and potential for duplicate content

Anchors as internal links and potential for duplicate content issues

     
3:16 pm on Nov 6, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 9, 2007
posts: 35
votes: 0


Is there a general conscience around using anchors to link to content within a single page? I would assume the simple solution is to make sure to block any URL with a # in it via the robots.txt?

Thus if the anchor looks like:


<a name="chapter4"></a>

and the following will resolve:


<a href="http://www.domain.com#chapter4">Chapter 4</a>

The line in the robots.txt should look like this?


Disallow: /*#*
4:43 pm on Nov 6, 2007 (gmt 0)

Senior Member from US 

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

joined:Apr 27, 2001
posts: 12166
votes: 51


The Fragment Identifier is a client side function. The bot will stop at the # symbol.

Fragment Identifiers - Axioms of Web Architecture
[webmasterworld.com...]

12:45 pm on Nov 7, 2007 (gmt 0)

New User

5+ Year Member

joined:Jan 9, 2007
posts: 35
votes: 0


Thanks PageOneResults... that answers my question 100%