wecenter站点地图插件使用说明

君笑尘
君笑尘 This guy is lazy,Introduction has not been set

0 People liked this article · 217 views

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


插件下载


Published on 2023-02-07 20:40

Disclaimers:

This document is written by 君笑尘 Original published on 君笑尘编程学习社区 ,The copyright belongs to the author。

Log in,More exciting content waiting for you to find,Contribute wonderful answers,Participate in comment interaction

go Sign in! No accountgoregister

All Rights Reserved Powered BY WeCenter V4.1.0 © 2023 粤ICP备2020123311号