wecenter站点地图插件使用说明
wecenter站点地图
插件介绍
自动动态生成站点地图,支持话题、文章、话题、会员列表
安装说明
1.下载插件并上传文件到服务器目录
2.开启伪静态,并设置对应的伪静态规则
伪静态设置
在后台 全局设置->站点设置->开启 Rewrite 伪静态:
在后台 全局设置->站点设置->自定义路由添加以下规则:
/sitemap/===/sitemap.xml
/sitemap/(:any)/===/sitemap/(:any).xml
伪静态设置成功后,地图链接如下:
最新地图(全部内容):http://你的域名/sitemap.xml
最新文章地图:http://你的域名/sitemap/article_sitemap.xml
最新问答地图:http://你的域名/sitemap/question_sitemap.xml
最新话题地图:http://你的域名/sitemap/topic_sitemap.xml
最新会员地图:http://你的域名/sitemap/people_sitemap.xml
当然,你也可以通过伪静态,再进一步简化URL,如
/sitemap/===/sitemap.xml
/sitemap/article_sitemap/===/article_sitemap.xml
/sitemap/question_sitemap/===/question_sitemap.xml
/sitemap/topic_sitemap/===/topic_sitemap.xml
/sitemap/people_sitemap/===/people_sitemap.xml
地图链接如下:
最新地图(全部内容):http://你的域名/sitemap.xml
最新文章地图:http://你的域名/article_sitemap.xml
最新问答地图:http://你的域名/question_sitemap.xml
最新话题地图:http://你的域名/topic_sitemap.xml
最新会员地图:http://你的域名/people_sitemap.xml
如果还不知道伪静态如何设置,也可以选择付费,联系QQ/微信:21407787
whole 0 Comments