By Brandon Scivolette on Wednesday, 02 November 2016
Posted in Technical Issues
Replies 3
Likes 0
Views 226
Votes 0
Good Evening,

I still can't quite seem to get my main menu to work correctly with EB menu items. I'm at a loss and have no idea how to proceed.

Creating EB Menu Item
On my main menu I want to have a link directly to a specific category, say 'health'. I've tried creating an EB menu item > Single Category > Health but doing so affects the blog posts under that category. For example, a blog post in the 'health' category will now have this URL structure: mysite.com/categories/health/blog-title

Of course, my intention is to merely put a menu alias to the existing EB category view for 'health' onto the main menu for easier navigation. I am at a loss as to why it affects the posts within the category.

Clarification: Using your demo as an example, what I am trying to accomplish would be the same as putting your 'technology' category on the main menu, and not having to first click the 'categories' menu item.

Recreate the EB Menu Structure
I looked at the EB demo to see how it had been set up, thinking that maybe I missed something. But the main menu created in the demo is merely a replication of the structure that EB creates within the component anyway. Will this only work if I recreate the menu structure as well? That is, to make a parent menu item for /categories, then a child item for the single category view /health?

Settings
Based on earlier conversations I can confirm the following settings:

Settings > SEO > General: Permalink = 'Simple'
Settings > SEO > Advanced: Advanced (Routing) = Default
Settings > SEO > Advanced: Entry Routing = Category Menu

Site Access
Support: My site is on the production server and, unfortunately, I cannot grant access. Any credentials you try from my profile won't work.
hey Brandon,

Do you mean you would like to achieve this following URL format on your site?

http://site.com/categories/health/blog-title (without single category menu item)
http://site.com/MenuAlias(health)/blog-title (with single category menu item)

By the way, i did tried in my local, if I create single category menu item for that category, it will show this following result :
http://site.com/MenuAlias(health)/blog-title (with single category menu item)


You can refer on my attached screenshot below.

Perhaps you can provide us some of the screenshot with your current menu structure from backend so we can better have a check?
·
Wednesday, 02 November 2016 12:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Good Morning,

No, my goal is to replicate the existing URL structure associated with EB items. For example, using the EB link structure as-is, without creating a menu item or alias, the URL's would look like:

Single Post: mysite.com/blog-title
Single Category: mysite.com/categories/category-name

Now, if I attempt to create a single category menu item the URL structure changes for that category and all blog posts in that category.

Single Post: mysite.com/category-alias/blog-title
Single Category: mysite.com/category-alias

Essentially, my menu item to a EB view overrides the core URL structure for the category and blog posts under that category. The remaining categories and their blog posts continue to have the correct structure (as outlined at the top of this post).

I set up EB on a test server to give you a working example. In the attached screenshot you will see that I created a single category menu item for 'mental health'. Prior to creating the menu item the URL structure was /categories/mental-health. The blog post in this category (titled "Letting Go") had this URL structure: /letting-go

Once I enabled the category menu item the category URL became: /mental-health. The blog post "Letting Go" became /mental-health/letting-go

I hope that all makes sense. Basically, by enabling the menu item the link structure is no longer the same as what I have established within the EB settings.
·
Wednesday, 02 November 2016 23:00
·
0 Likes
·
0 Votes
·
0 Comments
·
If I am not wrong the only way can achieve this URL format -> http://mysite.com/blog-title only set your Easyblog frontpage as frontpage.

If that is the case, you can follow my instruction below to achieve the rest of the configuration setting :

- Create a parent "Show all categories" menu item
- Create a child for "single category" menu item
- Set "Simple" URL format
- Set to use menu item id - easyblog frontpage menu item id (refer on my attached screenshot below.)
·
Thursday, 03 November 2016 01:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post