Answered by:
How to redirect from http://hostname to http://hostname/sites/main/default.aspx without using IIS redirect

Question
-
I want to redirect sharepoint 2007 site from http://hostname to http://hostname/sites/main/default.aspx without using IIS site redirect way on server 2008R2. If I use IIS redirect way then I sometimes get this error "WebForm_PostBackOptions undefined" error.
Please help.
- Moved by Mike Walsh FIN Friday, July 16, 2010 5:14 AM admin q - not specifically ecm (From:SharePoint - Enterprise Content Management (pre-SharePoint 2010))
Friday, July 16, 2010 5:03 AM
Answers
-
you can use a temporary page such as default.aspx in the root directory and can use meta tag as follows; default.aspx will be called by default by IIS and hence will redirect to the url provided in meta tag
<META HTTP-EQUIV=Refresh CONTENT="0; URL=/sites/main/default.aspx">
Manish Sati- Proposed as answer by Patrick Lamber (Old Profile) Wednesday, July 21, 2010 2:53 PM
- Marked as answer by Seven M Friday, July 23, 2010 6:11 AM
Friday, July 16, 2010 5:38 AM -
Hi,
if you are using ECM you could also use the Redirect WebPart by putting it on the page and setting the redirect rule on it.
Best regards
follow my blog http://patrick.lamber.blogspot.com to get additional tips and information about SharePoint, Project and ASP.NET- Proposed as answer by Patrick Lamber (Old Profile) Wednesday, July 21, 2010 2:53 PM
- Marked as answer by Seven M Friday, July 23, 2010 6:12 AM
Friday, July 16, 2010 5:56 AM
All replies
-
you can use a temporary page such as default.aspx in the root directory and can use meta tag as follows; default.aspx will be called by default by IIS and hence will redirect to the url provided in meta tag
<META HTTP-EQUIV=Refresh CONTENT="0; URL=/sites/main/default.aspx">
Manish Sati- Proposed as answer by Patrick Lamber (Old Profile) Wednesday, July 21, 2010 2:53 PM
- Marked as answer by Seven M Friday, July 23, 2010 6:11 AM
Friday, July 16, 2010 5:38 AM -
Hi,
if you are using ECM you could also use the Redirect WebPart by putting it on the page and setting the redirect rule on it.
Best regards
follow my blog http://patrick.lamber.blogspot.com to get additional tips and information about SharePoint, Project and ASP.NET- Proposed as answer by Patrick Lamber (Old Profile) Wednesday, July 21, 2010 2:53 PM
- Marked as answer by Seven M Friday, July 23, 2010 6:12 AM
Friday, July 16, 2010 5:56 AM