DNN SEO

Finding better SEO Solutions for DNN

SEARCH  
  • Snowcovered.com
  •  
  • Custom DNN Modules
  •  
Subject: Redirecting Default.aspx to root Only for IIS 7

You are not authorized to post a reply.   
Prev Next
Author Messages
DNN SEOUser is Offline

Posts:175

05/15/2009 10:14 AM Alert 

In order to do a redirect of the Default.aspx to the root you need to have the Microsoft URL rewirte Module For IIS 7 installed which can be found on the downloads page of this site.

 

In the web.config file these lines need to be added before the "<"/system.webServer">" tag

 

"<"rewrite">"
"<"rules">"
"<"rule name="Default.aspx Redirect" patternSyntax="Wildcard" stopProcessing="true"">"
"<"match url="default.aspx" /">"
"<"action type="Redirect" url="/dnn493" appendQueryString="false" redirectType="Permanent" /">"
"<"/rule">"
"<"/rules">"
"<"/rewrite">"

This does not create an infinate redirect loop like all other modules.


Owner/Developer
DNN SEO
www.dnnseo.net
DNN SEOUser is Offline

Posts:175

05/15/2009 11:00 AM Alert 

The only problem I just found out is if you are on the root page, you click on any of the links that post back to the root page it does not function like the login link.



Owner/Developer
DNN SEO
www.dnnseo.net
You are not authorized to post a reply.
Forums > DNN SEO Redirector > Chat About It! > Redirecting Default.aspx to root Only for IIS 7



ActiveForums 3.6
Login  |  Privacy Statement  |  Terms Of Use  |  Copyright 2006 - 2009 by DNN SEO

Hosted by Rackspace. Designed by B Studios. DotNetNuke® is copyright 2002-2010 by DotNetNuke Corporation. Page generated in 0.051 seconds.