Mobile app version of vmapp.org
Login or Join
Vandalay111

: Can URLs containing hashtags now be used in site maps and indexed by Google? We are working on an Ajax application that will dynamically load content. It will be embedded in other people's

@Vandalay111

Posted in: #CrawlableAjax #Seo #XmlSitemap

We are working on an Ajax application that will dynamically load content. It will be embedded in other people's site, so we were thinking of using hashtags to denote parameters for content IDs (and color scheme IDs).

Would Google be able to index this content? And could we use such URLs in a sitemap?

The reason my colleague has suggested hashtags is to avoid disrupting URLs on client sites, especially as users won't be expert developers.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

3 Comments

Sorted by latest first Latest Oldest Best

 

@Gail5422790

This is an important idea: the browser can execute JavaScript and produce content on the fly - the crawler cannot.
if you want to see, what crowlers see. you can open your page in ypur browser and then view the source. for mor info you can see this Url: developers.google.com/webmasters/ajax-crawling/docs/learn-more


that recomendation url expired. and i think this result is better and newer:
Google will not consider the fragments in the URLs. The answer is Google has provided a syntax for working around this problem. It’s known as the “hash bang” syntax. By putting an exclamation point immediately after the hash sign, you're telling Google that the fragments are not used for traditional scroll positioning but instead for loading separate content variations that should be crawled. With that approach, our example URLs with fragments could indeed be crawled and seen by Google. Our example URLs might then look like this:
example.com/fruits.html#!apple example.com/fruits.html#!orange

10% popularity Vote Up Vote Down


 

@Debbie626

Before the end of 2015 i would have recommended to implement the ajax crawling from google, but it's deprecated: webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html
But in general i don't recommend you to use them:


I'm not sure how google handels hashfragments and i found no
trusted, fresh source
U can not use them with analytics (out of the box)
Are client side and not sent in HTTP request (for example no apache url rewrite)


If you rly want you should use Hashbangs "#!", but if you really want to build a SEO optimized page you shouldn't use them either.

Example for a SERP with Hashbangs: www.google.de/#q=site:anaavenue.com

Oh, and if i analyse the Google itself, the query site:www.google.de inurl:"?q" gives me search results, but for site:www.google.de inurl:"#q" i don't get any.

And don't forget, that there are more search engines than Google..

10% popularity Vote Up Vote Down


 

@Connie744

A sitemap is a guide to discoverable paths, not content, and such paths are to be to your site, not someone elses, so, no, don't do that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme