Category: SEO and Google Search

Googlebot does not discover subpages by menu with onClick itself

Read this guide in Polish

The user goes through navigation, but the search engine poorly finds internal addresses. Links made exclusively by JavaScript events may not give the robot typical tracking links.

How to determine the source of the error

Check that the menu contains actual elements and with the attribute href to subpages.

See raw HTML and compare navigation after rendering JavaScript.

What to do step by step

1. For navigation use semantic links Link or a href, leaving buttons for real action.

2 . Add transparent category hubs with links to important guides and avoid unlimited link lists in the footer.

How to check the score

The robot can go to the relevant pages after regular href, and the menu is still available by keyboard.

What to do

Do not pretend to be a div element link from onClick if it leads to another URL.