wecenter如何自定义文章和问题的链接

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

0 People liked this article · 229 views

wecenter系统的文章模块,链接都是 /artiacle/id 的格式,而问题模块,链接都是 /question/id的格式,

那么可不可以自定义链接的格式?例如:文章模块,链接改为 /post/id 的格式,问题模块,链接改为 /ask/id的格式呢?


答案是可以的!


我们可以通过wecenter系统本身自带的伪静态功能,

先通过在服务器上,配置好伪静态,

然后在后台里开启伪静态功能,并设置好伪静态链接即可。

413cd5fd156bc1181b1605bb5cb5a137.jpg


通过这样的设置,我们就可以把平常是通过 

article/id 访问的链接,变成 addon/id  的形式访问了


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号