您好!欢迎来到创咯网

创咯网

热门搜索:

蚂蚁分类信息系统 多城市/单城市伪静态规则

分类:团啊学院 时间:2019-12-02 22:34 浏览:1440
阿里云
资讯详情页摘要上方横幅-820*100
概述
多城市伪静态规则RewriteEngine OnRewriteRule ^(.*)space/([a-z0-9-\_]+)/$ $1/space.php?user=$2RewriteRule ^(.*)school-([0-9]+)/$ $1/school.php?uid=$2RewriteRule ^(.*)school-([0-9]+)/([^/]+).html$ $1/school.php?ui
内容

多城市伪静态规则

RewriteEngine On

RewriteRule ^(.*)space/([a-z0-9-\_]+)/$ $1/space.php?user=$2

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

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

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

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

RewriteRule ^(.*)demand.html$ $1/demand.php

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

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

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

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$ $1/corporation.php

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

RewriteRule ^(.*)teachers.html$ $1/teachers.php

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

RewriteRule ^(.*)aboutus.html$ $1/about.php?part=aboutus

RewriteRule ^(.*)sitemap.html$ $1/about.php?part=sitemap

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

RewriteRule ^(.*)announce.html$ $1/about.php?part=announce&id=$2

RewriteRule ^(.*)faq.html$ $1/about.php?part=faq

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

RewriteRule ^(.*)friendlink.html$ $1/about.php?part=friendlink


单城市伪静态规则

RewriteEngine On

RewriteBase /

 

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 ^(?!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


评论
阿里云
联系我们
底部广告
阿里云
联系客服
网站客服 联系客服
手机版

扫一扫进手机版
返回顶部