Make your links crawlable

Google can follow links only if they are an <a> tag with an href attribute. Links that use other formats won't be followed by Google's crawlers. Google cannot follow <a> links without an href tag or other tags that perform as links because of script events. Here are examples of links that Google can and can't follow:

Can follow:

  • <a href="">
  • <a href="/relative/path/file">

Can't follow:

  • <a routerLink="some/path">
  • <span href="">
  • <a onclick="goto('')">
Was this helpful?
How can we improve it?