I have an app I didn’t write, that I have to work on to change a few stuff.
One of this stuff i have to work ok, is a weird issue where we have renamed a content’s title – and the URL was changed too by doing so. Yet, the resourse is now available at the old and at the new URL alike – and google sees it as duplicated content.
Is this a knows issue with Rails?
Can I fix it by redirecting the page to the new one, kind of like a 301 redirect?
Is there any code I could post to make the issue more clear, or is there any direction you can point me to?
Are you using friendly_id gem by any chance?
If you are, simply redirect the page to the new one by adding something like this to the show action in your controller: