数据40来万,标签1000多,数据库5.6,php5.6,服务器配置4核8G,曾经这套程序模板实现多个权6-7的站点,拿去弄个备案老域名放在那里发挥,根目录有火车头发布模块和采集规则,大家可以拿去更新采集数据。
数据库配置文件改成自己的,把根目录数据库导入到数据库即可。
e/config/config.php
伪静态
location / {
rewrite ^/poetry/([0-9]+)\.html$ /e/action/poetry.php?classid=4&id=$1 last;
rewrite ^/poetry/fanyi-([0-9]+)\.html$ /e/action/fanyi.php?classid=4&id=$1 last;
rewrite ^/poetry/pinyin-([0-9]+)\.html$ /e/action/pinyin.php?classid=4&id=$1 last;
rewrite ^/poetry/shang-([0-9]+)\.html$ /e/action/shang.php?classid=4&id=$1 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+).html$ $1/e/tags/itag.php?py=$2&page=$3 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+).html$ $1/e/tags/itag.php?py=$2 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+)_([0-9]+)/$ $1/e/tags/itag.php?py=$2&page=$3 last;
rewrite ^([^\.]*)/gushi/([a-z0-9]+)/$ $1/e/tags/itag.php?py=$2 last;
}
根目录火车头发布规则和模块,自己拿去研究即可。
更新缓存数据-其他页面刷新-整站主要页面刷新
数据更新 =》 刷新所有页面 (记得勾选 全部刷新 然后等待更新完成 第一次慢,不要立马关闭页面)