3
votes

Same websites after using html5mode and remove hashtags from url "you do not need to serve different or pre-rendered content to Google" says.

In Google write ajax crawling documents deprecated. Other website write Google can crawl an AngularJS fine. In old stackoverflow question(s) the solution offers a different way.

If you dont use hashtags you can put _escaped_fragment_ requests end of url to try how to see Google your website.

My AngularJS application uses html5mode and no needs hashtags(ex:www.domain.com/app/page-1). What should I do to be sure Google can crawl my AngularJS application fine ? Could you tell me more detail about crawling(I am not a senior).

Some informations without link because I could not post more than 2 links.

Thank you.

1

1 Answers

1
votes

I'm glad to see your question that you have already done quite a good research on AngularJs and Google Crawler, as you already know about most of the stuff there is very little to make sure if the bot is working as expected or not.

Hashbang urls are an ugly stopgap requiring the developer to provide a pre-rendered version of the site at a special location. They still work, but you don't need to use them.

Hashbang URLs look like this:

domain.com/#!path/to/resource

This would be paired with a metatag like this:

<meta name="fragment" content="!">

Google will not index them in this form, but will instead pull a static version of the site from the _escaped_fragments_ URL and index that.

Pushstate URLs look like any ordinary URL:

domain.com/path/to/resource

Making Sure it Works: Google Webmaster tools now contains a tool which will allow you to fetch a URL as google, and render JavaScript as Google renders it. Link to Googlebot-fetch

AngularJs and Google Crawler Stuff:

1: This is a wonderful article explaining everything in detail about AngularJS SEO 2: Also this question is already been answered by @superluminary in detail, please take a look Use PushState and Precomposition 3: Some Answers more answers from a post I earlier wrote "Link"