?
Solved

window.history.pushState seo (search engine)

Posted on 2015-02-23
4
Medium Priority
?
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Lucas Bishop
ID: 40626202
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
ID: 40626809
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 18

Accepted Solution

by:
Lucas Bishop earned 2000 total points
ID: 40629095
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
ID: 40630254
You made my day!!

thx! :)
Miguel
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
SEO can be a real minefield to navigate, but there are three simple ways to up your SEO game just be re-assessing your content output.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses

801 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