当前位置:首页 >> 行业应用 >> 2月最新修复版网站网址导航系统PHP源码

2月最新修复版网站网址导航系统PHP源码

码团 行业应用 4

2月最新修复版网站网址导航系统PHP源码,原有的网站缩略图已失效,已更换新接口,增加新年灯笼源代码和文字广告,不需要的请在index.php自行删除即可

测试环境

宝塔Nginx+ php5.6+ mysql
先导入数据库文件db/www_loowp_com.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]

云创源码www.loowp.com分享

 

,伪静态,修复版,网址导航系统,导航系统
协助本站SEO优化一下,谢谢!
关键词不能为空
同类推荐
«    2026年5月    »
123
45678910
11121314151617
18192021222324
25262728293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言
文章归档
网站收藏
友情链接