Does Googlebot call every link separately (with a new request) or does it follow all links by JavaScript (for example by click event)?
I have a vue-js website which contains all the links and of course all the navigation is handled by JavaScript.
But the meta tags and open graph meta tags are only generated and output directly from the server via PHP when a URL is requested. For example, when I go to my main page example.com/index
, my PHP code outputs the meta tags specifically to that URL. If a visitor of the website now click on a link "contact" (example.com/contact
), the meta tags are not adjusted and are still those for example.com/index
.
But if I now directly open the URL example.com/contact
in my browser, the correct meta tags and open meta tags are displayed by the PHP script.
Does Googlebot crawl each link individually as a new request/URL call or does the bot go to example.com/index
and then execute the link calls via Javascript on the website (in this case the meta tags would be wrong and not updated).