This project is read-only.

Legacy System routes to pages in Orchard

Topics: Core, Customizing Orchard, General
May 9, 2014 at 2:22 PM
I create a new site for a customer using Orchard 1.7. The old site had for it's default page /index.php/Main_Page I see in my analytics traffic that there are still a number of people who have this page bookmarked and keep coming to the page. Is there anyway that I can setup an rewrite rule so that if someone tries to come to this page, it sends them to the home page of the new site?

There's another page too that they hit and I'd like to send them to the new version of that page. I'm assuming the rewrite rule would be very similar, but I just wanted to see if anyone knew how to do this.

Thanks in advance.

May 10, 2014 at 10:49 PM
Edited May 10, 2014 at 10:50 PM
If your server has it installed, you can use IIS URL Rewrite rules from the Web.config to achieve this, by simply redirecting users to the new pages.
Jun 7, 2014 at 2:21 PM
Thanks! This worked perfectly!