By BinYaprak on Monday, 03 October 2016
Posted in General Issues
Replies 3
Likes 0
Views 376
Votes 0
Hi,

We have 2 main categories in our blog which is like Discover and its subcategories and other one is like Take Action and its subcategories. These Discover and Take Action are 2 different menu items in our main menu.

What we need is to reach these blog posts from different URLs according to it's main category.

Let's say we have these categories:

Discover
- Disc Sub Cat 1
- Disc Sub Cat 2

Take Action
- Action Sub Cat 1
- Action Sub Cat 2

Discover Post URLs will be like
http://mywebsite.com/discover/sample-discover-blog-post-1
http://mywebsite.com/discover/disc-sub-cat-1/sample-discover-blog-post-2
http://mywebsite.com/discover/disc-sub-cat-2/sample-discover-blog-post-3


Take Action Post URLs will be like
http://mywebsite.com/take-action/sample-action-blog-post-1
http://mywebsite.com/take-action/disc-sub-cat-1/sample-action-blog-post-2
http://mywebsite.com/take-action/disc-sub-cat-2/sample-action-blog-post-3

I really liked Settings - SEO options and tried to use these settings to overcome what we need but failed.
Can you recommend me a way to achive this?
Hm, ideally this should be pretty easy. You just need to set the routing behavior to "Default" and under "Entry Routing Behavior", change it to "Category Menu".

It should behave this way if it was configured with these settings.
·
Tuesday, 04 October 2016 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,
It's already set as you said.

OK I found the reason why it's not working.
I didn't create menu item for subcategories of Take Action.. Now it's working..

But there is still one case that misrouting.. which happens if you assign a post only to main category "Take Action". then it goes under /discover/{post-alias} instead of /take-action/{post-alias}..
even if I already created for 2 different menu item for these categories.

Anyway, this works for me. I do not use main categories without subs
Thanks
·
Tuesday, 04 October 2016 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Güray,

I am sorry for the delay of this reply,

May i know do you having any routing URL format issue?
·
Tuesday, 04 October 2016 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post