Ruby on Rails vs PHP - SEO url change