找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 177|回复: 0

[php源码] 完美运营站长导航源码修复版

[复制链接]

该用户从未签到

发表于 2022-11-3 20:40:00 | 显示全部楼层 |阅读模式

您需要 登录 才可以下载或查看,没有账号?立即注册

×
完美运营站长导航源码修复版
搭建环境:PHP5.6+MYSQL+ng1.8

Nginx伪静态规则:

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

将源码上传至服务器并解压,导入数据库


修改数据库配置信息

根目录下   config.php文件内


后台路径:
/admin


后台登录信息
admin      admin888


修复内容:
1:修复原ICO图标与缩略图获取无效问题(原获取方式已死,现写入程序中了)
2:删减站点详情页无效统计
3:新增全站后台可管理若干广告位(不添加广告不显示)
4:修复其它若干问题
回复

使用道具 举报

网站地图|页面地图|文字地图|Archiver|手机版|小黑屋|找资源 |网站地图

GMT+8, 2024-9-29 07:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表