懒人网址导航源码v3.

测试环境
宝塔Nginx -Tengine2.2.3的PHP5.6 + MySQL5.6.44
为防止调试错误,建议使用测试环境运行的php与mysql版本
首先用phpMyAdmin导入数据库文件db/db.sql
如果导入不行,请直接复制数据库内容运行sql语句也可以
再修改config.php来进行数据库配置
然后在服务器设置好伪静态规则
访问网站OK
后台是:你的域名/admin/login.php 账号:admin 密码:qqqqqq

Nginx伪静态规则
rewrite ^/index.html$ /index.php;
rewrite ^/about.html$ /about.php;
rewrite ^/search.html$ /search.php;
rewrite ^/ranking.html$ /ranking.php;
rewrite ^/wz.html$ /wzall.php;
rewrite ^/apply.html$ /apply.php;
rewrite ^/404.html$ /404.php;
rewrite ^/sort([1-9]+[0-9]*).html$ /sort.php?id=$1;
rewrite ^/sort([a-zA-Z]+).html$ /sort.php?alias=$1;
rewrite ^/site_([1-9]+[0-9]*).html$ /site.php?id=$1;
rewrite ^/wz([1-9]+[0-9]*).html$ /wz.php?id=$1;
rewrite ^/wzshow_([1-9]+[0-9]*).html$ /wzshow.php?id=$1;
Apache伪静态规则
RewriteEngine On
rewritebase /
RewriteRule ^index.\html /index\.php [L,NC]
RewriteRule ^about\.html about\.php [L,NC]
RewriteRule ^search\.html search\.php [L,NC]
RewriteRule ^ranking\.html ranking\.php [L,NC]
RewriteRule ^wz\.html wzall\.php [L,NC]
RewriteRule ^apply\.html apply\.php [L,NC]
RewriteRule ^404\.html 404\.php [L,NC]
RewriteRule ^sort([0-9]+)\.html sort\.php?id=$1 [L,NC]
RewriteRule ^sort([a-zA-Z]+)\.html sort\.php?alias=$1 [L,NC]
RewriteRule ^site_([0-9]+)\.html site\.php?id=$1 [L,NC]
RewriteRule ^wz([0-9]+)\.html wz\.php?id=$1 [L,NC]
RewriteRule ^wzshow_([0-9]+)\.html wzshow\.php?id=$1 [L,NC]

IIS伪静态规则(请查看压缩包中的版本简单说明)

资源下载
下载价格终身VIP专享
仅限终身VIP下载升级终身VIP

原文链接:https://www.bohezy.top/11399.html,转载请注明出处。
① 本站所有资源均来源于网络收集,一切版权©归原作者所有,请保留原版权信息。
② 不排除源码存在BUG,残缺或加密的可能,请三思后再买,否则购买后一概不能退款;
③ 源码仅供参考与学习,不确保能正常演示,也不包含其中的技术服务。
④ 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!不得使用于非法商业用途,不得违反国家法律。否则后果自负!
⑤ 本站分享仅供参考学习和演示,禁止商用,如需商用,请从正规渠道选择购买正版!使用正版!支持正版!维护一个良好的知识产权环境。
⑥ 如发现链接失效或者密码有误,请联系客服。
⑦ 如果付款后下载不了,请提联系客服,24小时内解决,如果解决不了,会为您退款。

0

站点公告

终身会员原价199元,现在活动价只要99元,随着资源的增加,不定时涨价 。。 截止今日23:59结束,没有加入的一定不要错过!购买VIP
显示验证码
没有账号?注册  忘记密码?