This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello,
I installed the plugin Rainlab.blog and I created the 3 pages:
/blog /blog/category/:slug blog/post /:slug
I would like to have changed:
/blog -> for all items /blog /:slugCategory -> example -> /blog/development /blog /:slugCatégory /:slugPost -> example -> /blog/development/create-a-plugin
I tried several things but to no avail ...
If someone comes along and wants to help me :)
Hi,
I am new to this, so bear with me.
The "blogPosts" component has a few properties. One being the property "categoryPage" and another being the "postPage". You can define with these properties what the category and the post page should be. For example in the config part of your blog list page:
[blogPosts]
postPage = "/blog/:slugCategory/:slugPost"
categoryPage = "/blog/:slugCategory"
==
(I am not sure whether the 'é' is accepted... I replaced it with an 'e').
This will override the default page settings. Documentation: https://octobercms.com/plugin/rainlab-blog
Last updated
Hi Goedda, It isn't work for me? I would have the same. The url is more seo friendly in this way.
Do you have the solution?
Hi,
You can define the urls you like. If you have trouble installing blog plugin. Please watch this great screencast: https://vimeo.com/97088926
1-4 of 4