Back to ProBlog Support

harsh5547
harsh5547

Hi, First of all, thanks for a great plugin. This is so much better than the default blog plugin for october CMS. I am trying to migrate my site's blog from Wordpress to ProBlog. The URLs in my old installations were /blog/:category_slug/:post_slug while in the proBlog plugin they are /blog/post/:post_slug. Is there a way for me to change this in proBlogList component. The URL /blog/:category_slug/:post_slug currently works as I am guessing it works on the :post_slug so I can keep anything between /blog/xyz/:post_slug and it will still render the post page. My only issue is with the proBlogList component linking posts as /blog/post/:post_slug. Your help is appreciated

harsh5547
harsh5547

I think the right way to do it would be by using partials to override the template. Fingers crossed.

Ok so finally I was able to do it. This was big help https://octobercms.com/docs/cms/components#overriding-partials.

Last updated

ChadStrat
ChadStrat

So you were successful then? Can you share a link? So you must be creating each category page being sure to match the slug, placing a list component on that page, and then posting underneath of that page. Then modifying the list component markup to add the category slug to the url?

Would you be interested in doing a blog post on doing just this?

ChadStrat

Shapeless
Shapeless

yes. blog post please!

ChadStrat
ChadStrat

Actually I should report back here: v2.0 of ProBlog now has updated documentation and accommodates flexible category based blogging. See the docs.

ChadStrat

1-5 of 5