Topics: Administration, Customizing Orchard
Dec 23, 2011 at 3:50 PM

how do you make a page redirect? like when you submit a form, and it says thank you for submitting your form, please wait as we redirect you. how do you redirect to the home page after you submit a forum.

Dec 23, 2011 at 8:04 PM

Well, for a regular redirect, you just return a redirect result from your controller. If you want something visible (personally I don't really see the point but eh), you'll have to write code to add a refresh header: