Search code examples
angularjsweb-crawlersitemapgoogle-searchangularjs-routing

Crawling a website that uses angular routes


I have a personal website that I use for some of my motorbike racing. I created it recently using node and angular. I decided to try angular routes for my page navigation etc. I think it worked well but I'm annoyed that my website isn't showing on google search.

When I've looked into how to get google to find your website I've followed many suggestions with meta names etc but when I came to a sitemap I discovered that most crawlers etc have problems finding any links on my website to other pages.

You can see my website here - MPC Racing

I have tried using this automatic sitemap creator and it can't find anything apart from my main page - XML Sitemap

Do you have any suggestions on how I can my website more easily found by search engines?

For example, a design company designed all my graphics for my bike and if I type into google "Webstep Racing Team" I get the link to their website as the first hit but nothing at all on my website. What is it they are doing and I'm not? - Webstep Racing Team


Solution

  • By default the hashes are getting ignored by search engines, because normally they refer to parts of the same page.

    You can follow google guidelines for ajax crawling urls to get the hashed url indexed by Google. The same standard also supported by Bing according to searchEngineLand post.

    And because you are using angularJs, you might find Matias Niemela's post on how to have your AngularJS application indexed very useful. Demo and source code.