Duplicate content by category name change
-
Hello friends,
I have several problems with my website related with duplicate content.
When we changed any family name, for example "biodiversidad" to "cajas nido y biodiversidad", it creates a duplicate content because: mydomain.com/biodiversidad and mydomain.com/cajas-nido-y-biodiversidad have the same content.
This happens every tame I change the names of the categories or families.
To avoid this, the first thing that comes to my mid is a 301 redirect from the old to the new url, but I wonder if this can be done more automatically otherwise, maybe a script?
Any suggestion?
Thank you
-
Your can do a 301 redirect on the old domain to the new one in webmaster tools
-
thank you activitysuper. Do you know a tutorial about 301 redirect in webmaster tools?
-
This is all within the same domain, right? If there's a pattern to how you change them, then you could write rewrite rules to cover the pattern. This is platform-specific, however - Apache is more flexible than IIS, for example.
The other option would be to create a database of the URL changes and reference that (and auto-301) every time a page is called. That's a lot trickier, though, and would take some serious coding.
If there's no clear pattern, I'm afraid it's going to take either the database or manually setting up 301-redirects. If you're doing this frequently, though, I'd strongly consider re-evaluating. Even proper 301s lose some amount of link-juice, and changing your URLs frequently can cause a lot of unintended SEO problems.
-
Thank you Peter for your answer.
Finally We are doing 301 redirects manually via htaccess.
We hope not to change over the names of the categories.
Best regards!