Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Googlebot interprets javascript. In that case you shouldn't use pushState but fragment URLs[1].

I should have said it is assumed that the URL exists on the server and points to the same resource/content; otherwise setting URLs using pushState makes no sense. GitHub is a good example of how it should be done, not an exception.

[1] https://developers.google.com/webmasters/ajax-crawling/docs/...



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: