Gordon Saxby
asked on
iis7 redirect default.asp to root
A customer wants http://www.hisdomain.com/default.asp redirected to http://www.hisdomain.com/ (i.e. without the default.asp bit).
I tried using the HTTP Redirect in IIS7 but it just causes a loop / error - is it possible to do this somehow?
I tried using the HTTP Redirect in IIS7 but it just causes a loop / error - is it possible to do this somehow?
ASKER
default.asp is in the list of "default documents" and requesting http://www.hisdomain.com/ works (and shows default.asp).
However, the issue is if http://www.hisdomain.com/default.asp is requested (e.g. via Google or 3rd party link) then it needs to do a permanent redirect to http://www.hisdomain.com/.
The "problem" is Google has both indexed and treats them as duplicates, so the customer wants to effectively remove the "/default.asp" entry (by permanently redirecting).
However, the issue is if http://www.hisdomain.com/default.asp is requested (e.g. via Google or 3rd party link) then it needs to do a permanent redirect to http://www.hisdomain.com/.
The "problem" is Google has both indexed and treats them as duplicates, so the customer wants to effectively remove the "/default.asp" entry (by permanently redirecting).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I assume you have a default File configured to IIS Manager.
SERVER | Sites | Site | In the Feature Pane | Select Default Document | make sure default.asp is added.
If ASP components were added after the site creation, they may not be present.
-Hades666