Initial commit

This commit is contained in:
易焱
2021-03-13 18:42:01 +08:00
commit d9a3c376d5
3243 changed files with 627198 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# 将 RewriteEngine 模式打开
RewriteEngine On
#列表页-分页:/1/index_2.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([0-9]+)/index_([0-9]+).html$ /index.php?m=Home&c=List&a=index&catid=$1&p=$2 [L,QSA]
#[QSA] 追加查询字符串 不能删除
#列表页:/1/index.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([0-9]+)/index.html$ /index.php?m=Home&c=List&a=index&catid=$1 [L,QSA]
#[QSA] 追加查询字符串 不能删除
#详情页:/1/3.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([0-9]+)/([0-9]+).html$ /index.php?m=Home&c=View&a=index&catid=$1&id=$2 [L,QSA]
#[QSA] 追加查询字符串 不能删除
#自定义列表页-分页:/pages_1/index_2.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pages_([0-9]+)/index_([0-9]+).html$ /index.php?m=Home&c=Pages&a=index&pages_id=$1&p=$2 [L,QSA]
#[QSA] 追加查询字符串 不能删除
#自定义列表页:/pages_1/index.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^pages_([0-9]+)/index.html$ /index.php?m=Home&c=Pages&a=index&pages_id=$1 [L,QSA]
#[QSA] 追加查询字符串 不能删除
#自定义详情页:/page/1.html
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^page/([0-9]+).html$ /index.php?m=Home&c=Page&a=index&page_id=$1 [L,QSA]
#[QSA] 追加查询字符串 不能删除