Indexing of Sitemap for AngularJS Site Increasing

Previously, I posted 2018 Search Engine Optimization with AngularJS 1.x Single Page Application. In that post, I highlighted how to use HTML5 Mode in an AngularJS app to get the hash bang URLs to redirect to URLs that are more friendly for web crawlers like Googlebot. Prior to this change, I only ever got three URLs indexed by Googlebot. One of which of course was the main website URL (ie, www.wingspecials.today) and the other two were my “about us” and “contact us” pages. Unfortunately, Google doesn’t show you which pages actually were indexed, but it is safe to assume that the only three pages in my sitemap.xml that did not use hash bang URLs were the ones that got indexed.

Afterward making my SEO improvements, I went to Google’s Webmaster Search Console and resubmitted my sitemap.xml. It did not take too long before I could see an increase in the number of pages indexed. In about four days, I saw a quick spike then a slow but steady increase in the number of links indexed. Twenty days later, I stand at about 18 out of 40 links indexed. It is clear that these SEO changes have worked well with Googlebot (it is also clear that Googlebot is still not able to successfully index AngularJS pages as others have claimed it should).

Googlebot able to successfully index hash bang URLs from sitemap.xml for AngularJS with HTML5mode turned on.

Googlebot able to successfully index hash bang URLs from sitemap.xml for AngularJS with HTML5mode turned on.

Now, all web crawlers are not created equal. Bingbot clearly is not able to render AngularJS/Javascript pages (at least for my site). Bing Webmaster tools has a similar tool as Google called “Fetch as Bingbot”. I can see that it clearly fails to render any of my dynamic content. Also, Bing Webmaster tools fails to parse my same sitemap.xml that Google parses successfully. Bing reports XML errors, but provides little information to diagnose the problem.

Bing Webmaster Tools shows XML Error for valid Sitemap XML.

Bing Webmaster Tools shows XML Error for valid Sitemap XML.

As we can see, Bing does not show you how many pages have been indexed, but only how many have been submitted. It shows 26 have been submitted, which is not all of the links from my sitemap.xml. I believe some of the characters in my URL are not valid for Bing.

Leave a Reply

Your email address will not be published. Required fields are marked *