Technical SEO FAQ · JavaScript SEO & Rendering

How can JavaScript affect internal linking?

A crawlable link should generally use an anchor element with an href:

<a href="https://www.theseocentral.com/technical-seo">Technical SEO</a>

A clickable div that relies entirely on JavaScript is not equivalent to a normal crawlable anchor.

JavaScript can also generate links after rendering. Google can process JavaScript-generated links, but the output should still follow crawlable-link best practices.

Audit:

  • HTML source;
  • rendered DOM;
  • anchor hrefs;
  • relative/absolute URLs;
  • blocked URLs;
  • dynamically generated navigation.

Sources


Related questions


← All technical SEO questions View as Markdown (.md)