I am working on a large project that involves collecting thousands (30,000+) of static web pages and turning them into CMS.
The problem is that many of these pages are duplicates in their directories. I want to keep SEO intact using 301 redirects, however I'm not sure how to do this to make such a big redirect (301).
The following is an example of the current directory structure for pages.
/page.html
/folder/page.html
/folder/subfolder/page.html
/folder/subfolder/anotherfolder/page.html
As you can see, page.html is duplicated in all directories.
For the new CMS, the URL of this page will be /page.html.
source
share