国产一级黄毛片,亚洲成av人亚洲成av人,色呦呦呦呦呦呦一级黄片,操黑丝美女小穴

微信客服微信客服

通過web.config文件設(shè)置301跳轉(zhuǎn)方法

閱讀:2.01萬 評論:0 點(diǎn)贊:8 2020-03-21
標(biāo)簽:301301跳轉(zhuǎn)

設(shè)置方法

用記事本打開web.config文件
找到<rules>
在他后面插入

<rule name="301Redirect01" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^qthxxw.com$" />
</conditions>
<action type="Redirect" url="http://www.qthxxw.com/{R:0}"  redirectType="Permanent" />
</rule>


這樣設(shè)置后,就把qthxxw.com跳轉(zhuǎn)到www.qthxxw.com

可以在<rules>后插入多段這樣的代碼,來實(shí)現(xiàn)跳轉(zhuǎn)

注意:

這個(gè)名字不能有重復(fù)的,

下面的例子是設(shè)置兩個(gè)跳轉(zhuǎn)規(guī)則

301Redirect01和301Redirect02

301Redirect01設(shè)置了qthxxw.com 跳轉(zhuǎn)到 www.qthxxw.com

301Redirect02設(shè)置了www.qth8.com 跳轉(zhuǎn)到 www.qthxxw.com

<rule name="301Redirect01" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^qthxxw.com$" />
</conditions>
<action type="Redirect" url="http://www.qthxxw.com/{R:0}" redirectType="Permanent" />
</rule>

<rule name="301Redirect02" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^www.qth8.com$" />
</conditions>
<action type="Redirect" url="http://www.qthxxw.com/{R:0}" redirectType="Permanent" />
</rule>

代碼截圖

用戶評論(0)
取消回復(fù)
無有評論,您來說說!

電話:15561532279 Q Q :251443403
周一至周五(早8:00 - 晚6:00)
2000人站長群:176381403
VIP QQ群:196313294
Copyright © 2008-2026 框分類信息系統(tǒng)  版權(quán)所有    ICP證:黑ICP備19004589號     黑公網(wǎng)安備 23090402000014號
本系統(tǒng)由七臺河市廣盛網(wǎng)絡(luò)科技有限公司開發(fā) 專業(yè)地方同城分類信息源碼
定边县| 类乌齐县| 清涧县| 莱芜市| 阿拉善左旗| 西乌珠穆沁旗| 陆川县| 霞浦县| 方正县| 横山县| 宁都县| 六盘水市| 苏尼特左旗| 建始县| 大悟县| 宁远县| 博爱县| 嵊泗县| 沁阳市| 姜堰市| 商都县| 西宁市| 永州市| 石林| 武威市| 喀什市| 武山县| 吐鲁番市| 定安县| 永清县| 潼南县| 涿州市| 博乐市| 黄浦区| 遂宁市| 定边县| 潼关县| 灵武市| 曲水县| 兴义市| 石棉县|