xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="301Redirect" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTP_HOST}" pattern="^xxx.com$" /> conditions> <action type="Redirect" url="http://www.xxx.com/{R:0}" redirectType="Permanent" /> rule> rules> rewrite> system.webServer> configuration>
把以上代码写入web.conf中即可
把改为x.com改为需要重定向的网址
把3w.x.com改为重定向到的网址
Copyright © 2013-2023 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号 粤公网安备 44200002445359号
增值电信业务经营许可证编号:B1-20222012
代理域名注册服务机构:西部数码