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

微信客服微信客服

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

閱讀:1.99萬 評論:0 點贊:6 2020-03-21

設(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>后插入多段這樣的代碼,來實現(xiàn)跳轉(zhuǎn)

注意:

這個名字不能有重復的,

下面的例子是設(shè)置兩個跳轉(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)
取消回復
無有評論,您來說說!

電話: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)絡(luò)科技有限公司開發(fā) 專業(yè)地方同城分類信息源碼
延安市| 朝阳区| 河北省| 隆化县| 泽库县| 中山市| 闸北区| 鹤庆县| 上思县| 沙河市| 玉溪市| 彭水| 长垣县| 会理县| 阿克陶县| 林口县| 广宗县| 博湖县| 中卫市| 南投县| 盐亭县| 政和县| 阳泉市| 桑日县| 宁都县| 陕西省| 沭阳县| 叶城县| 广东省| 微山县| 图片| 宁城县| 封开县| 吕梁市| 平和县| 靖边县| 宜兰县| 德令哈市| 五台县| 融水| 万州区|