apache下常用程序的伪静态规则列表(包括wordpress、
#wordpress
<ifModule mod_rewrite.c>
RewriteEnge On
RewriteBase /
RewriteRule ^dex\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /dex.php [L]
</IfModule>
#ThkPhp
<IfModule mod_rewrite.c>
RewriteEnge On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.)$ dex.php/$1 [QSA,PT,L]
</IfModule>
#dzx3.x
<IfModule mod_rewrite.c>
RewriteEnge On
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^ic-(.+)\.html$ portal.php?mod=ic&ic=$1&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/dex.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^([a-z]+[a-z0-9_])-([a-z0-9_\-]+)\.html$ plug.php?id=$1:$2&%1
</IfModule>
#dzx2.x
<IfModule mod_rewrite.c>
RewriteEnge On
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^ic-(.+)\.html$ portal.php?mod=ic&icid=$1&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1 [NU]
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/dex.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.)$
RewriteRule ^([a-z]+[a-z0-9_])-([a-z0-9_\-]+)\.html$ plug.php?id=$1:$2&%1
#shopex4.8
<IfModule mod_rewrite.c>
RewriteEnge On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} \.(html|htm|php|php2|php3|php4|php5|phtml|pwml|c|asp|aspx|ascx|jsp|cfm|cfc|pl|cgi|shtml|shtm|phtm|xml)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(?!shopadm)(.)$ dex.php?$1 [L,QSA]
</IfModule>
推火专家西部数码
网站设计
- 静宁会SEO的网站建设公司:全面提升您的网络影
- 提升在线业务的关键:选择最佳的丽水网站建设
- 浙江网站优化发展潜力如何
- 井研专业的网站建设公司:打造您的在线品牌
- 灵山SEO网站建设公司:提升您的在线业务表现
- 蒙城网站建设优化公司:提升您网站表现的理想
- 阳谷企业网站优化:提升线上业务力的关键
- 樟树专业的网站建设公司:打造您在线业务的坚
- 通河百度SEO排名的策略与技巧
- 重庆百度快照排名如何进行精准的客户引流
- 重庆百度快照排名
- 常宁便宜的建站公司:助您轻松打造在线业务
- 巫溪百度网站优化:提升网站曝光率与流量的关
- 湖北整站优化怎么做才能放大客户需求
- 闸北网站建设多少钱?全面解析与预算规划
- 辽宁企业网站优化怎么做电话营销