安装说明:

宝塔Nginx-Tengine2.2.3的PHP5.6+MySQL5.6.44

先导入数据库文件.sql

再修改config.php数据库配置

然后服务器设置好伪静态规则

访问网站OK

后台是:你的域名/admin/login.php账号:admin密码:123456

如有不懂的话请加QQ:911918052

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伪静态规则

RewriteEngineOn

rewritebase/

RewriteRule^index.html/index.php[L,NC]

RewriteRule^about.htmlabout.php[L,NC]

RewriteRule^search.htmlsearch.php[L,NC]

RewriteRule^ranking.htmlranking.php[L,NC]

RewriteRule^wz.htmlwzall.php[L,NC]

RewriteRule^apply.htmlapply.php[L,NC]

RewriteRule^404.html404.php[L,NC]

RewriteRule^sort([0-9]+).htmlsort.php?id=$1[L,NC]

RewriteRule^sort([a-zA-Z]+).htmlsort.php?alias=$1[L,NC]

RewriteRule^site_([0-9]+).htmlsite.php?id=$1[L,NC]

RewriteRule^wz([0-9]+).htmlwz.php?id=$1[L,NC]

RewriteRule^wzshow_([0-9]+).htmlwzshow.php?id=$1[L,NC]

宅男导航源码打包插图

1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解! 2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理! 3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负! 4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入! @亿佳网络
易佳资源网 » 宅男导航源码打包

提供最优质的资源集合