Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
516 views
in Technique[技术] by (71.8m points)

seo - Do Google and Bing crawlers treat hash tags in URLs as GET parameters?

Crawlers in genereal consider http://server/page and http://server/page?parameter=1 two different URLs.

How do Google and Bing crawler consider hash tag URLs, such as http://server/page#hash?


According to http://www.tynt.com/support/faq#technical everything after the hash tag is ignored. Are there other sources confirming this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Your source is correct. Everything after the hash tag (aka URL fragment) is typically ignored. The reason being, the URL fragment is typically only used by the browser and doesn't cause additional information to be pulled from the server. So the content of the page should largely stay the same.

For instance, the hash parameter is typically used in 2 ways, either as a page anchor (think 'go to top of page') or as ways of passing information via javascript.

The exception to the rule is the AJAX crawlability implementation. In this case if you have a "hash-bang" (#!), Google and Bing (maybe) will attempt to crawl your AJAX content, which will treat your hash parameter values as separate pages.

Google => "Making AJAX Applications Crawlable"

Search Engine Land => Bing Now Supports Google’s Crawlable AJAX Standard?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...