K296 PHP站长导航网源码修复优化版

安装环境:宝塔面板 + Nginx + PHP 5.6 + MySQL

详细步骤:
1. 导入数据库文件至MySQL
2. 修改网站根目录config.php中的数据库连接信息
3. 配置服务器伪静态规则

伪静态配置:
▼Nginx规则
“`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规则
“`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]
“`

后台管理:
访问路径:域名/login.php
测试账号:www.ohbbs.cn
初始密码:www.ohbbs.cn

系统声明:
原创内容受知识产权保护,未经授权禁止任何形式的非法传播,合法权益受侵害时可联系技术支持处理。

K296网站源码安装教程

宝塔面板伪静态配置

PHP站长导航源码修复优化版

K296网站源码安装教程

宝塔面板伪静态配置

PHP站长导航源码修复优化版

解压密码: qq112233aa

K296 PHP站长导航网源码修复优化版-蓝海网
K296 PHP站长导航网源码修复优化版
此内容为付费资源,请付费后查看
29
立即购买
您当前未登录!建议登陆后购买,可保存购买订单
付费资源
© 版权声明
THE END
喜欢就支持一下吧
点赞14 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容