当前位置:首页 > 网站源码 > 正文内容

笔趣阁-杰奇1.7-伪静态版-伪静态规则

honor1个月前 (04-08)网站源码66
RewriteEngine on

RewriteRule ^xuanhuanxiaoshuo/$ /modules/article/articlelist.php?class=1&page=1
RewriteRule ^xiuzhenxiaoshuo/$ /modules/article/articlelist.php?class=2&page=1
RewriteRule ^dushixiaoshuo/$ /modules/article/articlelist.php?class=3&page=1
RewriteRule ^chuanyuexiaoshuo/$ /modules/article/articlelist.php?class=4&page=1
RewriteRule ^wangyouxiaoshuo/$ /modules/article/articlelist.php?class=5&page=1
RewriteRule ^kehuanxiaoshuo/$ /modules/article/articlelist.php?class=6&page=1
RewriteRule ^qitaxiaoshuo/$ /modules/article/articlelist.php?class=7&page=1
RewriteRule ^xuanhuanxiaoshuo/1_([0-9]+).html$ /modules/article/articlelist.php?class=1&page=$1
RewriteRule ^xiuzhenxiaoshuo/2_([0-9]+).html$ /modules/article/articlelist.php?class=2&page=$1
RewriteRule ^dushixiaoshuo/3_([0-9]+).html$ /modules/article/articlelist.php?class=3&page=$1
RewriteRule ^chuanyuexiaoshuo/4_([0-9]+).html$ /modules/article/articlelist.php?class=4&page=$1
RewriteRule ^wangyouxiaoshuo/5_([0-9]+).html$ /modules/article/articlelist.php?class=5&page=$1
RewriteRule ^kehuanxiaoshuo/6_([0-9]+).html$ /modules/article/articlelist.php?class=6&page=$1
RewriteRule ^qitaxiaoshuo/7_([0-9]+).html$ /modules/article/articlelist.php?class=7&page=$1
RewriteRule ^wanben/1_([0-9]+)$ /modules/article/articlelist.php?fullflag=1&page=$1
RewriteRule ^paihangbang/$ /modules/article/paihang.php?type1=yes
RewriteRule ^paihangbang/allvote.html$ /modules/article/paihang.php?type1=yes
RewriteRule ^paihangbang/goodnum.html$ /modules/article/paihang.php?type2=yes
RewriteRule ^paihangbang/newbook.html$ /modules/article/paihang.php?type3=yes
RewriteRule ^xiaoshuodaquan/$ /modules/article/xiaoshuodaquan.php
RewriteRule ^([0-9]+)_([0-9]+)/$ modules/article/reader.php?aid=$2
RewriteRule ^([0-9]+)_([0-9]+)/([0-9]+).html$ modules/article/reader.php?aid=$2&cid=$3

RewriteRule ^17mb/(.*).html$ /404.html
RewriteRule ^templates/(.*).html$ /404.html
RewriteRule ^themes/52mb/(.*).html$ /404.html
RewriteRule ^modules/article/templates/$ /404.html
RewriteRule ^modules/article/templates/(.*).html$ /404.html

这个是.htaccess的,需要转成其他格式。

htaccess转nginx

https://tool.lu/htaccess2nginx/

nginx规则


rewrite ^/xuanhuanxiaoshuo/$ /modules/article/articlelist.php?class=1&page=1;
rewrite ^/xiuzhenxiaoshuo/$ /modules/article/articlelist.php?class=2&page=1;
rewrite ^/dushixiaoshuo/$ /modules/article/articlelist.php?class=3&page=1;
rewrite ^/chuanyuexiaoshuo/$ /modules/article/articlelist.php?class=4&page=1;
rewrite ^/wangyouxiaoshuo/$ /modules/article/articlelist.php?class=5&page=1;
rewrite ^/kehuanxiaoshuo/$ /modules/article/articlelist.php?class=6&page=1;
rewrite ^/qitaxiaoshuo/$ /modules/article/articlelist.php?class=7&page=1;
rewrite ^/xuanhuanxiaoshuo/1_([0-9]+).html$ /modules/article/articlelist.php?class=1&page=$1;
rewrite ^/xiuzhenxiaoshuo/2_([0-9]+).html$ /modules/article/articlelist.php?class=2&page=$1;
rewrite ^/dushixiaoshuo/3_([0-9]+).html$ /modules/article/articlelist.php?class=3&page=$1;
rewrite ^/chuanyuexiaoshuo/4_([0-9]+).html$ /modules/article/articlelist.php?class=4&page=$1;
rewrite ^/wangyouxiaoshuo/5_([0-9]+).html$ /modules/article/articlelist.php?class=5&page=$1;
rewrite ^/kehuanxiaoshuo/6_([0-9]+).html$ /modules/article/articlelist.php?class=6&page=$1;
rewrite ^/qitaxiaoshuo/7_([0-9]+).html$ /modules/article/articlelist.php?class=7&page=$1;
rewrite ^/wanben/1_([0-9]+)$ /modules/article/articlelist.php?fullflag=1&page=$1;
rewrite ^/paihangbang/$ /modules/article/paihang.php?type1=yes;
rewrite ^/paihangbang/allvote.html$ /modules/article/paihang.php?type1=yes;
rewrite ^/paihangbang/goodnum.html$ /modules/article/paihang.php?type2=yes;
rewrite ^/paihangbang/newbook.html$ /modules/article/paihang.php?type3=yes;
rewrite ^/xiaoshuodaquan/$ /modules/article/xiaoshuodaquan.php;
rewrite ^/([0-9]+)_([0-9]+)/$ /modules/article/reader.php?aid=$2;
rewrite ^/([0-9]+)_([0-9]+)/([0-9]+).html$ /modules/article/reader.php?aid=$2&cid=$3;

rewrite ^/17mb/(.*).html$ /404.html;
rewrite ^/templates/(.*).html$ /404.html;
rewrite ^/themes/52mb/(.*).html$ /404.html;
rewrite ^/modules/article/templates/$ /404.html;
rewrite ^/modules/article/templates/(.*).html$ /404.html;


相关文章

苹果cmsv8官方下载(修复被频繁挂马)

苹果cmsv8官方下载(修复被频繁挂马)

  下载:https://www.lanzous.com/i8n5hle 密码:gyfk...

杰奇WAP_独立版_新笔趣阁_伪静态规则

RewriteEngine On RewriteRule ^xclass/([0-9]+)/([0-9]+).html$ /sort.php?sortid=$1&...

苹果cmsv10下载

苹果cmsv10下载

   官网下载,官网无法访问,分享下载:https://www.lanzous.com/i4bjf9i 密码:dquz ...

笔趣阁小说网站源码分享附wap(视频教程)

笔趣阁小说网站源码分享附wap(视频教程)

注意:win的话尽量用IIS6.0,IIS7.5同一路径下默认文档不能分别设置!链接:https://pan.baidu.com/s/1G9HwYO3IhfIs-o6EQWUIpA 提取码:w225...

杰奇cms防止百度转码,以及设备识别跳转代码

似乎很多人都烦过这个问题,而我这个也只是把最新的一些直接集结整理,也许现在能用不保证以后能用。而且百度转码的最终原因还是网站界面影响了用户体验,比如广告太多或者其它问题。以下的代码或许能给许多做流量的...

苹果cms8下载

苹果cms8下载

  下载:xxxxxxxxxxxxxxh 密码:ass8 此版本有漏洞,跳转到最新下载地址http://www.aiqaq.com/wzym/73.html...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。