고객이 사이트의 하위 폴더에 자신의 웹 사이트 콘텐츠를 가지고 있습니다. www.customersite.com/content. 이후 루트 폴더로 이동되었습니다. www.customersite.comIIS 301 하위 폴더에서 루트 폴더로 리디렉션
우리는 다음과 같습니다 사이트 설정하려면 IIS 301 리디렉션을 추가 한:
<rewrite>
<rules>
<rule name="Redirect to Root" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^customersite.com/content/$" />
</conditions>
<action type="Redirect" url="http://www.customersite.com/{R:0}"
redirectType="Permanent" />
</rule>
</rules>
</rewrite>
이 사이트는 www.customersite.com/content/처럼 보였다 링크를했다? p = 12 사용자가 이전 www.customersite.com/content/?p=12 주소를 입력하면 자동으로 www.customersite.com/?p=12로 리디렉션되도록 리디렉션을 변경할 수 있습니까? 그렇다면 어떻게?
감사합니다.