• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 168
  • Last Modified:

window.history.pushState seo (search engine)

Hello Experts,

When i use the HTML5 window.history.pushState to define a new url without refreshing the page, do the search engines crawl those URLs?
Would be great if they do, because that way i could change the data inside my app without reloading the page with ajax and at the same time define a link of that page to the googlebot (or other SE crawler)..

Thx in advanced,
Miguel
0
justaphase
Asked:
justaphase
  • 2
  • 2
1 Solution
 
Lucas BishopClick TrackerCommented:
Yes, googlebot can crawl these urls, see here:
https://developers.google.com/webmasters/ajax-crawling/docs/getting-started

However, you don't want to rely completely on googlebot crawling dynamically generated pages on your site for indexing purposes. Instead, you should have a sitemap defined and submitted via webmaster tools, which will be the authority on all the links on your page.
0
 
justaphaseAuthor Commented:
I already seen that.. i don't think it crawls normal urls like this "http://www.mywebpage.com/index.php?myvalue=12&mysecondvalue=45"

Only with #! hash fragment and then i have to make some voodoo snapshot that i didn't quite understand...
0
 
Lucas BishopClick TrackerCommented:
Here is a great example site for how to structure the url's to be crawlable:
http://html5.gingerhost.com/

I'm pretty sure that if the browser doesn't support javascript (or is a bot), they likely load a fully static page, instead of dynamically inserting the content for each url.
0
 
justaphaseAuthor Commented:
You made my day!!

thx! :)
Miguel
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now