Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ember hash urls in google

Tags:

ember.js

I am concerned about page ranking on google with the following situation:

I am looking to convert my existing site with 150k+ unique page results to a ember app, off the route. so currently its something like domain.com/model/id - With ember and hash change - it will be /#/model/id. I really want history state but lack of IE support doesn't leave that as a option. So my Sitemap for google has lots and lots of great results using the old model/id. On the rails side I will test browser for compatibility, before either rendering the JS rich app or the plain HTML / CSS. Does anyone have good SEO suggestions with my current schema for success.

Linked below is my schema and looking at the options - http://static.allplaces.net/images/EmberTF.pdf History state is awesome but it looks like support is only around 60% of browsers. http://caniuse.com/history

Thanks guys for the suggestions, the google guide is similar to what I'm going to try. I will roll it out to 1 client this month, and see what webmasters and analytics show.

like image 253
tspore Avatar asked Feb 17 '23 16:02

tspore


1 Answers

here is everything you need to have your hash links be seo friendly: https://developers.google.com/webmasters/ajax-crawling/

basically You write Your whole app with hashlinks, but You have to add "!" to them, so You have #!/model/id. Next You must have all pages somewhere generated and if google asks for them, return "plain html" as described here: https://developers.google.com/webmasters/ajax-crawling/docs/getting-started

use google webmaster tools to check if Your site is crawlable.

like image 75
Kamil Biela Avatar answered Mar 01 '23 05:03

Kamil Biela