Solved

window.history.pushState seo (search engine)

Posted on 2015-02-23
4
126 Views
Last Modified: 2015-02-25
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
Comment
Question by:justaphase
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Lucas Bishop
Comment Utility
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
 
LVL 1

Author Comment

by:justaphase
Comment Utility
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
 
LVL 16

Accepted Solution

by:
Lucas Bishop earned 500 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:justaphase
Comment Utility
You made my day!!

thx! :)
Miguel
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

[Part 2 of a 6 part series called SEO Basics: 5 SEO Secrets for Creating Content that Drives Traffic (http://www.experts-exchange.com/Web_Development/Internet_Marketing/Search_Engine_Optimization_SEO/A_8369-SEO-Basics-5-SEO-Secrets-for-Creating-Cont…
Your personal information, where you live, your wedding information, and anything else personal may be located online and in many cases the aggregators who pulled this stuff did so without your permission. Here are ways that you can get rid of unwan…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now