I have searched the forum to see if this has come up before. If it has
and I missed it I am sorry.
I’m fairly new to Ruby on Rails and have converted an existing site. To
avoid annoying redirects and disrupting search engine results I updated
the routes.rb file so that the old file name renders the correct rhtml
file. For example, photos.html renders /photos.
It works but the problem is that Google Webmaster Tools sees duplicate
meta data and titles for each page. I would really appreciate
information on how to correct this. I have been trying to figure out how
to get google to ignore .html files or treat them as duplicate data but
have had no luck so far.