Author: olly_vb | Posted on: 9/30/2009 3:02:24 PM | Views : 304

Hi all,
Just wondering if anyone can help me with the following issue.
I want to create a permanent 301 redirect for the sites extension /index.aspx page back to root; however, the site is on a hosted account; therefore Config changes to IIS are out of the question.
I used the following in my Global.asax file:
<%@ Application Language="C#" %> <script runat="server"> void Application_Start(object sender, EventArgs e) { // Code that runs on application startup } void Application_End(object sender, EventArgs e) { // Code that runs on application shutdown } void Application_Error(object sender, EventArgs e) { // Code that runs when an unhandled error occurs } void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started } void ...

Go to the complete details ...