php开源网站导航系统源码介绍
这是一款最新的导航网站源码,电脑版和手机版自适应。不但可以用来做站长类的导航网站,也可以做其它类型的导航网站。如:电影娱乐类的导航网站,技术博客类的导航网站,女性类的导航网站,购物类的导航网站等等,只要是导航网站,都可以使用本源码搭建。
网上流传的这个导航系统源码,安装的时候有错误,该版本是最新的修复版,已修复安装时的错误,安装后没有任何错误,直接使用。
修复该导航系统源码的测试环境为:宝塔Nginx+ php5.6+ mysql
网站导航系统源码搭建教程
先导入数据库文件sjk.sql(在db目录)
再修改config.php数据库配置
然后服务器设置好伪静态规则就可以了。
后台是:你的域名/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]



