2023年9月15日 修复了长尾词页面打开404的Bug
2023年8月9日 修复了长尾词插件不完整及后台操作的BUG
2023年7月15日 长尾词插件不完整,功能不能正常使用
使用环境: php5.6 – php8.x (开发环境php7.3)
使用教程,
- 上传三个文件夹 ( www, shipsay, themes ) 到服务器
- 将网站的入口文件指向 /www/index.php (或运行目录用 /www), 宝塔用户请”关闭防跨站攻击”
- 建立数据库: ( 建子站,请跳过这步 ) 3.1、使用船说做源站:
新建空白数据库
导入 /sql/船说优化版.sql ( 或 /sql/船说分表版.sql )
所有选择编码的地方都选择 utf8 3.2、使用杰奇做源站
在杰奇数据库中导入 /sql/update.sql - 配置服务器伪静态 ( 伪静态规则在最后 )
- 浏览器打开 http://你的域名/admin/ 进入后台, 完成最后配置.
其他:
- 免维护站点地图
访问地址:
百度: http://你的域名/sitemap/sitemap.xml
神马: http://你的域名/sitemap/sm_sitemap.xml
物理文件: /www/sitemap/, 可点开文件看使用说明.
* 伪静态规则 **
rewrite ^/sitemap/sitemap_([0-9]+).xml$ /sitemap/ss_sitemap.php?page=$1; rewrite ^/sitemap/sitemap.xml$ /sitemap/ss_sitemap.php; rewrite ^/sitemap/sm_sitemap_([0-9]+).xml$ /sitemap/sm_sitemap.php?page=$1; rewrite ^/sitemap/sm_sitemap.xml$ /sitemap/sm_sitemap.php; if (!-d $request_filename){ set $rule_0 1$rule_0; } if (!-f $request_filename){ set $rule_0 2$rule_0; } if ($rule_0 = "21"){ rewrite ^/(.*)$ /index.php last; }
Apache 伪静态: 无需设置.
IIS伪静态规则
<?xml version="1.0" encoding="UTF-8"?> <rules> <rule name="ShipSay SiteMap for ss_page"> <match url="^sitemap/sitemap_([0-9]+).xml$" ignoreCase="false" /> <action type="Rewrite" url="sitemap/ss_sitemap.php?page={R:1}" appendQueryString="false" /> </rule> <rule name="ShipSay SiteMap for ss_index"> <match url="^sitemap/sitemap.xml$" ignoreCase="false" /> <action type="Rewrite" url="sitemap/ss_sitemap.php" /> </rule> <rule name="ShipSay SiteMap for sm_page"> <match url="^sitemap/sm_sitemap_([0-9]+).xml$" ignoreCase="false" /> <action type="Rewrite" url="sitemap/sm_sitemap.php?page={R:1}" appendQueryString="false" /> </rule> <rule name="ShipSay SiteMap for sm_index"> <match url="^sitemap/sm_sitemap.xml$" ignoreCase="false" /> <action type="Rewrite" url="sitemap/sm_sitemap.php" /> </rule> <rule name="ShipSay CMS" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="index.php" appendQueryString="true" /> </rule> </rules>
此版本已替换为完整版本


修复完如下图:


船说CMS4.2全开源小说站群程序,外带长尾词插件最新版。程序功能就不多介绍了,比较强大威猛,这里直接上图。本程序船说cms 这个版本的功能已经非常完善,后期不需要在去增加额外的功能了,做小说的都知道,无非就是性能和资源的快慢,在此之前我们从2.4版本一直发布到目前的3.7版本,使用反馈非常好,因为代码全部开源,我们去除了一些作者自己加入的无用验证授权逻辑代码,这样减少了一些无用的请求,并且大家用了之后开源的才放心,否则网站做起来被人黑了太不值得了!
现在这款我们同时把长尾词插件也加入了进来(具体效果看截图),原版本的船说cms长尾词插件也是加密的,我们也做了解密做到了整套程序完全性的开源!

注意事项
1、如果开启Redis需要数据库为外网,打开/shipsay/class/router.php 第164行将127.0.0.1改成你的数据库服务器IP(数据库记得开启外网访问/安全性可以指定访问 宝塔有这个功能)
这个程序缓存可以使用的,是CENTOS 安装的redis版本兼容问题redis版本为6.0.6,改为5.0.8有用2、船说cms长尾词插件使用空白原因: 那是因为模板使用tpl_info.php或tpl_indexlist.php的不同,如果使用tpl_info.php那么就不需要改动。如果模板使用的是tpl_indexlist.php空白解决方法:shipsay/app/info_langtail.php将“require_once __THEME_DIR__.’/tpl_info.php’;”改为“require_once __THEME_DIR__.’/tpl_indexlist.php’;”
功能增加:
增加静态首页生成
增加神马结构化站点地图
增加TXT下载和小说推荐功能
增加Gzip选项,通过压缩网页从而大幅提升访问速度. ( 注: 如服务器已开启Gzip, 则效果不明显. )
增加搜索记录开关
数据库增加 “持久连接” 选择
路径增加小说拼音方式: 如 /book/cangyuantu.html
源码优化:
SEO 优化: 增加 Last-modified 返回
对文本内容特殊符号 ( 如: & < > 等 ) 的优化处理
数据库 “测试连接” 更准确
船说CMS前台演示效果

船说CMS后台功能演示效果












