国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > CMS建站 > 正文

維博招生系統vbmcms8.0s IIS偽靜態規則單城市版

2024-08-30 19:07:35
字體:
來源:轉載
供稿:網友

維博招生系統vbmcms8.0siis偽靜態規則單城市版

維博招生系統vbmcms8.0siis偽靜態規則單城市版

如何設置​維博招生系統偽靜態? 這群友最常提的問題。

但是偽靜態都是根據服務器環境、域名、鏈接的形式配置的,沒有萬用的規則。

這次分享的是IIS、Apache、Nginx各一份,可以參考三份規則修改。當然環境簡單的可以直接套用,通常需要修改的情況二級域名、多城市目錄偽靜態等,反正自己折騰吧。

1,773 2 2mymps作為國內領先的CMS系統,內置了各模塊的偽靜態以及動靜態自由切換的功能,開始DIY你的網站SEO配置吧!

維博招生系統vbmcms8.0s IIS偽靜態規則單城市版_www.cuoXin.com

開啟完上傳對應的規則文件:

IIS web.config版,桌面建立個文件命名為web.config上傳網站根目錄:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="已導入的規則 1">
                    <match url="^space/([a-z0-9A-Z]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="space.php?user={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 2">
                    <match url="^store-([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="store.php?uid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 3">
                    <match url="^store-([0-9]+)/([^//]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="store.php?uid={R:1}&amp;Uid={R:2}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 4">
                    <match url="^a/(.*)/$" ignoreCase="false" />
                    <action type="Rewrite" url="a/{R:1}/index.html" />
                </rule>
                <rule name="已導入的規則 5">
                    <match url="^(?!wap|admin)(.+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="category.php?Catid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 6">
                    <match url="^category-([^//]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="category.php?CAtid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 7">
                    <match url="^([^//]+)/([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="information.php?id={R:2}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 8">
                    <match url="^information-id-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="information.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 9">
                    <match url="^news.html$" ignoreCase="false" />
                    <action type="Rewrite" url="news.php" />
                </rule>
                <rule name="已導入的規則 10">
                    <match url="^news-id-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="news.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 11">
                    <match url="^news-catid-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="news.php?catid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 12">
                    <match url="^news-catid-([0-9]+)-page-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="news.php?catid={R:1}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 13">
                    <match url="^corporation.html$" ignoreCase="false" />
                    <action type="Rewrite" url="corporation.php" />
                </rule>
                <rule name="已導入的規則 14">
                    <match url="^corporation-([^//]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="corporation.php?Catid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 15">
                    <match url="^sitemap.html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=sitemap" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 16">
                    <match url="^aboutus.html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=aboutus" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 17">
                    <match url="^aboutus-id-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=aboutus&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 18">
                    <match url="^faq.html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=faq" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 19">
                    <match url="^faq-id-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=faq&amp;id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 20">
                    <match url="^friendlink.html$" ignoreCase="false" />
                    <action type="Rewrite" url="about.php?part=friendlink" appendQueryString="false" />
                </rule>
                <rule name="已導入的規則 21">
                    <match url="^announce.html$" ignoreCase="false" negate="false" />
                    <action type="Rewrite" url="about.php?part=announce" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

IIS模式二(httpd.ini):

[ISAPI_Rewrite]

# 3600 = 1 hour

CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files

# from accessing through HTTP

RewriteRule ^space/([a-z0-9A-Z]+)/$ space.php?user=$1

RewriteRule ^store-([0-9]+)/$ store.php?uid=$1

RewriteRule ^store-([0-9]+)/([^//]+).html$ store.php?uid=$1&Uid=$2

RewriteRule ^a/(.*)/$ a/$1/index.html

RewriteRule ^(?!wap|admin)(.+)/$ category.php?Catid=$1

RewriteRule ^category-([^//]+).html$ category.php?CAtid=$1

RewriteRule ^([^//]+)/([0-9]+).html$ information.php?id=$2

RewriteRule ^information-id-([0-9]+).html$ information.php?id=$1

RewriteRule ^news.html$ news.php

RewriteRule ^news-id-([0-9]+).html$ news.php?id=$1

RewriteRule ^news-catid-([0-9]+).html$ news.php?catid=$1

RewriteRule ^news-catid-([0-9]+)-page-([0-9]+).html$ news.php?catid=$1&page=$2

RewriteRule ^corporation.html$ corporation.php

RewriteRule ^corporation-([^//]+).html$ corporation.php?Catid=$1

RewriteRule ^sitemap.html$ about.php?part=sitemap

RewriteRule ^aboutus.html$ about.php?part=aboutus

RewriteRule ^aboutus-id-([0-9]+).html$ about.php?part=aboutus&id=$1

RewriteRule ^announce.html$ about.php?part=announce&id=$1

RewriteRule ^faq.html$ about.php?part=faq

RewriteRule ^faq-id-([0-9]+).html$ about.php?part=faq&id=$1

RewriteRule ^friendlink.html$ about.php?part=friendlink

如果列表里的地區打不開,找到下面規則把(.+)換成([^//]+)再測試

RewriteRule ^(?!wap|admin)(.+)/$ category.php?Catid=$1
 
<match url="^(?!wap|admin)(.+)/$" ignoreCase="false" />
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 中宁县| 伊吾县| 武安市| 皋兰县| 山东省| 额济纳旗| 康平县| 瓮安县| 宁城县| 五指山市| 兖州市| 长春市| 襄城县| 城口县| 榆林市| 云林县| 新和县| 龙胜| 罗平县| 乐平市| 宝坻区| 柞水县| 江口县| 昌平区| 侯马市| 石林| 龙游县| 梅州市| 清河县| 天祝| 白水县| 特克斯县| 阿拉善右旗| 万安县| 开原市| 威信县| 前郭尔| 栖霞市| 崇左市| 庆城县| 莫力|