①SEO搜索优化 专业版 3.8.6(带4个扩展组件)·DZ插件-Discuz论坛插件
特色说明:
搜索关键词自动生成伪静态页面,有新文章自动更新,搜索关键词自动分词,并匹配合适的内容;
支持手机版和电脑版聚合门户文章、论坛贴子和家园日志的页面。
支持自定义全文搜索或标题搜索,缓存目录,缓存时间,搜索结果条数,
支持记录搜索关键词,管理检索关键词,设置关键字描述,网址关键词中文与数字切换;
更多功能不一一列举。
搜索结果:
搜索结果优先级说明:搜索词 > SQL关键字分词 > SEO关键词
使用方法:
安装插件,开启插件后,前台搜索即可体验,(开启伪静态前,请先配置伪静态规则。)
=================网址方案=============================
方案一:
http://demo.onexin.com/q/22/
http://demo.onexin.com/q/22-1/
方案二:
http://demo.onexin.com/q/瑜伽/
http://demo.onexin.com/q/瑜伽-1/
方案三:
https://demo.onexin.com/q-瑜伽.html
https://demo.onexin.com/q-瑜伽-1.html
注:推荐固定使用其中一种方案。
=================伪静态规则=================
伪静态规则,放在其它DZ规则的上面,
# IIS/APACHE Web Server 1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)/q[- /]+(.*?)$ $1/plugin.php?id=onexin_keywords&rewrite=$2&%1
# IIS/APACHE Web Server 2
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^q[- /]+(.*?)$ plugin.php?id=onexin_keywords&rewrite=$1&%1
# Nginx Web Server
rewrite ^([^\.]*)/q[- /]+(.*?)$ $1/plugin.php?id=onexin_keywords&rewrite=$2 last;
**** Hidden Message *****
社区不能没有像楼主这样的人才啊!
页:
[1]