PHP开发的站长导航网源码修复版

作者 : 小编 本文共893个字,预计阅读时间需要3分钟 发布时间: 2021-09-3 共218人阅读

站长导航系统源码-修复版

原有的网站缩略图已失效,已更换新接口
增加新年灯笼源代码和文字广告,不需要的请在index.php自行删除即可

测试环境
宝塔Nginx+ php5.6+ mysql
先导入数据库文件db/sjk.sql
再修改config.php数据库配置
然后服务器设置好伪静态规则
访问网站OK
后台是:你的域名/admin/login.php 账号:admin 密码:123456

Nginx伪静态规则
rewrite ^/index.html$ /index.php;

rewrite ^/about.html$ /about.php;
rewrite ^/search.html$ /search.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;

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 ^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]

截图

PHP开发的站长导航网源码修复版插图PHP开发的站长导航网源码修复版插图(1)

 

公告:
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系站长处理!
6. 本站资源售价只是摆设,本站源码仅提供给会员学习使用!
7.本博客所有文章除特别声明外,均默认采用 CC BY-NC-SA 4.0 许可协议!
飞飞资源网 » PHP开发的站长导航网源码修复版

常见问题FAQ

有任何问题请加入交流群!
819632374

发表回复

飞飞资源网,细心甄别、精心筛选,只为提供优质的资源

网站介绍 联系我们
赞助本站会员享全部资源无限下载 终生会员限时福利价 注册即可下载