Welcome to WebmasterWorld Guest from 54.197.187.2

Forum Moderators: martinibuster

Message Too Old, No Replies

do search engines follow href="#" links?

     
8:19 am on Jun 27, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Dec 8, 2005
posts:231
votes: 0


im working on a 3 tier menu system for a site. the first two tier links are of the format <a href="#" onclick()> and use the onclick function to populate the tier below.

the third tier has the actual page URIs in the links.

will search engines follow the two # links to get to these links?

11:33 am on June 28, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 29, 2005
posts:140
votes: 0


Are you talking about level 1 to level 3 deep links?
11:53 am on June 28, 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:12171
votes: 60


will search engines follow the two # links to get to these links?

No they won't.

Fragment identifiers have a special role in information retrieval systems as the primary form of client-side indirect referencing, allowing an author to specifically identify aspects of an existing resource that are only indirectly provided by the resource owner. As such, the fragment identifier is not used in the scheme-specific processing of a URI; instead, the fragment identifier is separated from the rest of the URI prior to a dereference, and thus the identifying information within the fragment itself is dereferenced solely by the user agent, regardless of the URI scheme. Although this separate handling is often perceived to be a loss of information, particularly for accurate redirection of references as resources move over time, it also serves to prevent information providers from denying reference authors the right to refer to information within a resource selectively. Indirect referencing also provides additional flexibility and extensibility to systems that use URIs, as new media types are easier to define and deploy than new schemes of identification.

Uniform Resource Identifier (URI): Generic Syntax - 3.5. Fragment
[gbiv.com...]

Emphasis mine.

12:24 pm on June 28, 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: 12171
votes: 60


<a href="#" onclick()> and use the onclick function to populate the tier below.

Are the links visible in the source before the onclick event? If not, they are hidden from the bot and won't get indexed.

1:00 pm on June 28, 2007 (gmt 0)

Senior Member from MY 

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 1, 2003
posts:4847
votes: 0


It is better to use the actual URL in the href= part, and let the javascript return false; so that if it javascript is followed, it won't then follow the href=
4:00 pm on June 28, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Dec 8, 2005
posts:231
votes: 0


thanks for the great replies. i have redesigned the menu so it doesnt use js to populate itself.
9:41 am on July 11, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 19, 2006
posts:805
votes: 0


so this method can be used to mask affiliate links?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members