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?
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.
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).
Yes, sitemap.xml required for angular SEO.
Yes, You have to do this in Angular. and yes Sitemap.xml is also required for SEO.
Click here to cancel reply.