This project is read-only.

Is there a 301 redirect module for path altered pages?

Topics: Customizing Orchard, General, Writing modules
May 31, 2012 at 6:21 PM

Is there a module out there that will 301 permanent redirect from an old page to a new page path? I want to alter the path to many pages from /mypage to /my-page.html but I don't want to trip my seo. I need to prevent users from seeing a 404 not found, Google from dropping the pages from it's index, and being penalizing for duplicate content.

If there isn't a module for this, can anyone recommend a module that would be a great place to start in creating a module for this purpose?

May 31, 2012 at 7:02 PM

Jun 1, 2012 at 2:26 AM

Thanks Bertrand!

In case anyone else runs into this, here's a basic example using the rewrite_mod:

RewriteRule ^mypage$ my-page.html