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

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

Link Development Forum

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

5+ Year Member



 
Msg#: 3379975 posted 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

5+ Year Member



 
Msg#: 3379975 posted 11:33 am on Jun 28, 2007 (gmt 0)

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

pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3379975 posted 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

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3379975 posted 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

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



 
Msg#: 3379975 posted 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

5+ Year Member



 
Msg#: 3379975 posted 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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3379975 posted 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