skip to Main Content

In my application, I used angular.js as a client side technology. Now, I want my site to be SEO friendly – I found the solution, but I am little bit confused about it. Is sitemap.xml required or not for angular SEO?

4

Answers


  1. Yes absolutely you do this in Angular JS.

    Within your website, use the hashbang or HTML5 URLS to point to the content–Google and Bing are smart enough to figure out that they’re AJAX-generated pages.

    Here is an example of a sitemap.xml entry for a AJAX webpage.

    Login or Signup to reply.
  2. For making AJAX application crawlable you need to use prerender which will automatically create static HTML snapshots for Google bots (see this article: https://developers.google.com/webmasters/ajax-crawling/docs/learn-more).

    Login or Signup to reply.
  3. Yes, sitemap.xml required for angular SEO.

    Login or Signup to reply.
  4. Yes, You have to do this in Angular. and yes Sitemap.xml is also required for SEO.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search