homepage Welcome to WebmasterWorld Guest from 54.198.42.105
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Marketing and Biz Dev / Link Development
Forum Library, Charter, Moderators: martinibuster

Link Development Forum

    
do search engines follow href="#" links?
lethal0r




msg:3379977
 8:19 am on Jun 27, 2007 (gmt 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?

 

abacuss




msg:3381069
 11:33 am on Jun 28, 2007 (gmt 0)

Are you talking about level 1 to level 3 deep links?

pageoneresults




msg:3381079
 11:53 am on Jun 28, 2007 (gmt 0)

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.

pageoneresults




msg:3381093
 12:24 pm on Jun 28, 2007 (gmt 0)

<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.

vincevincevince




msg:3381114
 1:00 pm on Jun 28, 2007 (gmt 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=

lethal0r




msg:3381286
 4:00 pm on Jun 28, 2007 (gmt 0)

thanks for the great replies. i have redesigned the menu so it doesnt use js to populate itself.

kidder




msg:3391366
 9:41 am on Jul 11, 2007 (gmt 0)

so this method can be used to mask affiliate links?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / Link Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved