Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

confused - html5 history api and google crawler?

per Google crawling, AJAX and HTML5 , google can crawl dynamic pages that use history api, yet it says that google won't execute any javascript on the page. To me that means that an ajax request and dom building wont be made, so google won't be able to index the contents of the page that is loaded in. can anyone please elaborate?

like image 992
nuway Avatar asked Oct 22 '22 16:10

nuway


1 Answers

As written in the answer, you'll need to provide hard links for bots.

Just treat it like a user without JavaScript. You should support users with no JavaScript. Feel free to implement the <noscript> tag.

like image 80
mate64 Avatar answered Oct 30 '22 14:10

mate64