: How do I get Google to crawl and index a react.js app that uses AJAX and onclick events instead of links? What would be the best way to get Google to index a react app. Google can now
What would be the best way to get Google to index a react app. Google can now read JavaScript, so no pre-rendering or isomorphic application is needed.
But what about internal links on a page? We use onClick all over the place.
Are there any meta tags to tell googlebot about the links on the page?
More posts by @Lee4591628
1 Comments
Sorted by latest first Latest Oldest Best
Google parses a page much the same way a web browser does including processing JavaScript and then evaluating the DOM to identify what the end user would see the page as. In this way Google is able to identify on click events that redirect a page and follow those links. There is no special tags you have to add anymore to tell Google how to navigate your site. The rule of thumb now is that if an end user can see it without logging in (unless you provide Google with a login account to index protected pages) then Google can see it, crawl it, and if appropriate index it
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.