Mobile app version of vmapp.org
Login or Join
Tiffany637

: How to avoid duplicate content even when using 301 redirections? I manage a website with tens of thousands of pages named /view.php?id=1234 and so on. Because we wanted it to be more SEO-friendly,

@Tiffany637

Posted in: #301Redirect #DuplicateContent #Google #Redirects #Seo

I manage a website with tens of thousands of pages named /view.php?id=1234 and so on. Because we wanted it to be more SEO-friendly, a 301 Moved Permanently redirection of each one of them to /view/name-of-the-page-1234/ was created.

This was about 5 years ago, and everything went fine. But recently thousands of pages have been reappering in Google with the old view.php URL! So I have about 20,000 results in common between the redirected and the unredirected URLs, which I am guessing will be sooner or later penalized for duplicated content.

I have been told about disallowing view.php in robots.txt, but I think that wouldn't be a good idea since Google would stop crawling redirections completely.

How could I stop this duplicate content from appearing in searches and avoid being penalized?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Tiffany637

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

Use a canonical header in each page, this way if you do accidently have the same content available from multiple URL, the search engines will know which is the real URL of the content.

10% popularity Vote Up Vote Down


 

@BetL925

You have to make sure all 301 redirect are on and implement missing ones.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme