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

微信客服微信客服

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

閱讀:1.87萬 評論:0 點贊:2 2020-03-21

設置方法

用記事本打開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>


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

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

注意:

這個名字不能有重復的,

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

301Redirect01和301Redirect02

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

301Redirect02設置了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)
取消回復
無有評論,您來說說!

電話:15561532279 Q Q :251443403
周一至周五(早8:00 - 晚6:00)
2000人站長群:176381403
VIP QQ群:196313294
Copyright © 2008-2025 框分類信息系統(tǒng)  版權(quán)所有    ICP證:黑ICP備19004589號     黑公網(wǎng)安備 23090402000014號
本系統(tǒng)由七臺河市廣盛網(wǎng)絡科技有限公司開發(fā) 專業(yè)地方同城分類信息源碼
丹东市| 建水县| 罗甸县| 巍山| 达拉特旗| 土默特右旗| 壶关县| 成安县| 全椒县| 成武县| 丹棱县| 新宾| 临沭县| 石阡县| 彩票| 车致| 界首市| 昌邑市| 来安县| 湖口县| 大田县| 河间市| 乐业县| 岳阳市| 安徽省| 苏尼特右旗| 大城县| 拉萨市| 瑞昌市| 中卫市| 项城市| 淳化县| 玉林市| 藁城市| 聊城市| 普安县| 霍林郭勒市| 五大连池市| 岑溪市| 江达县| 边坝县|