I have a Angular 1x SPA that uses the HATEOS standard to manage navigation. This is further complication by the links needing to be digested and processed to direct the user to the correct content based on their country and selected (or sniffed) language.
this means that there are a lot of these in the HTML (on div tags and such)
ng-click="goToPage(content.id)"
Which leads to logic which might look like this, or even more complicated:
$rootScope.goToPage = function (here) {
if (here.type && here.type.id == 'somecontenttype') {
//Launch.set(here.title, here.mainAction.href, $filter('link')(here.links, 'page'),'');
$location.path(here.mainAction.href);
} else if (($filter('link')(here.links, 'page')).length > 0) {
$location.path($filter('link')(here.links, 'page'));
}
};
The question is, can Google or Bing follow a link in that example? With the links coming from HATEOS (API) and there being no real address to follow, I would think Google has challenges following these types of links and we would need to rely on a sitemap.
rel="nofollow"
they shouldn't be "crawled" or followed, thus affect SEO – unknownprotocol Sep 20 '17 at 5:23