简体   繁体   中英

October CMS : URL of the posts not set on the blogposts component

I'm working on a non profit's website and we're using October CMS and its blog plug-in to add publications to it. The problem is, when displayed on the /publications page, the posts title link to the same page instead of their specific post's page (/publications/post/:slug) despite having specified the page to the component inspector. Nonetheless, typing the correct link (eg /publications/post/first-blog-post) still redirects to the correct page, so I guess it's something to do with RainLab's interpretation ? I tried setting the link to a 404 or any other page, it stays as /publications.

Has anybody ever encountered this problem and/or knows how to solve it ?

Thanks :)

Have you set all of the settings?

See this screenshot:

RainLab.Blog组件

It's very important to set post page and post slug .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM