apache - Mass 301 redirect using .htaccess -


I am working on a large project that involves taking thousands of (30,000+) static web pages and turning it into CMS

This issue is duplicate within many of these pages. I want to retain SEO using 301 redirects, however, I'm not sure about such a big redirection How to know in

Here is an example of existing directory structure for pages.

 /page.html / folder / page / / folder / soffolder / page / / folder / software folder / other folder / page html 

as you can see Page .html is duplicated in all directories.

The URL for that page will be just / page.html for the new CMS.

For example, travel:

You are redirected directly to the page / page

this page

  option + reminder reviewing ^ (. *) Page.html / page.html [R = 301, NC]  

will always redirect to using 301 hard-redirects.

By looking at the URL to rewrite this page, if anything is included before page 19 (except for the domain itself) and if it is, 301 then direct. You can actually use any sub-level, and as long as it ends with the page, it redirects to /page.html in the root directory.

If you are thinking that [R = 301, nc] mean,

  R / R means simple redirect R = 301 // means no redirect with 301 header header NC //, or to be used to ignore all other rules even after  
Could.

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -