问:取消315dy.cn 的301转跳 谢谢!,取消315dy.cn 的301转跳
问:<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="disableDownloadThemeHtml"> <match url="^themes/.*.(html|xml)$" ignoreCase="false" /> <action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" /> </rule> <rule name="urlRewrite"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" pattern=".(html|xml|json|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|cgi|shtml|shtm|phtm)$" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" /> </conditions> <action type="Rewrite" url="index.php?{R:1}" appendQueryString="true" /> </rule> <rule name="301Redirect" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTP_HOST}" pattern="^315dy\\.cn$" /> </conditions> <action type="Redirect" url="http://www.315dy.cn/{R:0}" redirectType="Permanent" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
答:您好,
已取消,请现在测试下,非常感谢您长期对我司的支持!
问:你才那个代码!
答:您好
抱歉,不明白您的意思,请详细描述下,非常感谢您长期对我司的支持!
问: <rule name="301Redirect" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTP_HOST}" pattern="^315dy\\.cn$" /> </conditions> <action type="Redirect" url="http://www.315dy.cn/{R:0}" redirectType="Permanent" /> </rule>
问:你拆了那些代码?
问:谢谢!知道了
答:您好