cyrusstoller / RevTilt

Find Autism Friendly Places
http://revtilt.com
MIT License
135 stars 9 forks source link

SEO Friendly URLs #37

Closed chart3030 closed 10 years ago

chart3030 commented 11 years ago

Current: http://revtilt.com/organizations/447

Should be: http://revtilt.com/places/tags/name-of-service-provider

Right?

cyrusstoller commented 11 years ago

Yea. We should use something like https://github.com/FriendlyId/friendly_id but we first need to decide what the slug should look like.

If RevTilt starts allowing for reviews from other sites like Foursquare, we should be sure that the slugs don't get confused. In other words if we use the one from yelp.com/biz/:slug if that slug leads to a different business on foursquare that could be confusing.

I guess one way to deal with that is to prefix the URL with the service the original review came from like you did with tags in your example URL. So it would be something like http://revtilt.com/organizations/yelp/karate-for-all-tustin instead of http://revtilt.com/organizations/497.

That'll be easiest to implement. I think.