Medrise
asked on
url redirect on IIS 7
How can I redirect old URLs, to their new location.
Here is what I want to do...
I have this URL
http://www.mysite.com/forums/categories.cfm?catid=18&zb=3848346
and it moved to the following location
http://forums.mysite.com/categories.cfm?catid=18&zb=3848346
Is it possible to setup a rule on the URL Rewrite settings?
Here is what I want to do...
I have this URL
http://www.mysite.com/forums/categories.cfm?catid=18&zb=3848346
and it moved to the following location
http://forums.mysite.com/categories.cfm?catid=18&zb=3848346
Is it possible to setup a rule on the URL Rewrite settings?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It doesn't redirect... I get an error..
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
ASKER
actually it did work... thanks... you need a trailing /
thanks...
thanks...
<rule name="remove forums folder" stopProcessing="true">
<match url="forums/(.*)" />
<action type="Redirect" url="{R:1}" />
</rule>