Hi,

you could try putting a canonical tag into your view. Saying google that
/photos is the same content as /photos.html.

http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

Greets, Max.



Am 06.10.2010 16:49, schrieb Christine Nyb:
> Hi,
> 
> 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.
> 
> Thanks,
> 
> Christine

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to