By Martin on Saturday, 02 November 2013
Posted in General Issues
Replies 8
Likes 0
Views 1.5K
Votes 0
Hi!
Ive just bought EasyBlog!
Im trying to configure the way URL are generated for the blog posts, and also the breadcrumbs
Ive read many similar cases, but i cant find the right way to do it.
Ive changed the SEO setting to "based on category", although is not working as i would like

Lets say my website is: example.com
It has a menu with some items, one of them is BLOG, and its the default item, so the main site example.com goes to the blog menu item.

I would like to create breadcrumbs this way:
Start > Blog > "Category name" > "Post name"
But now its showing this way:
Start > "Post name"

With URL happens similar, I would like:
example.com/blog/"category alias"/"post alias"
But it shows:
example.com/entry/"id + category alias"/"id + post alias"

When i access example.com, the blog is loaded, but "/blog" dont show on the url, because its the default one. I think that is why "blog" dont show on breadcrumbs or url.
Can you give me advise to get "blog" to show?

For breadcrumbs, why it doesnt show the category, but only the post name?
And for the URL, why appear the ID before the alias? can i remove that? and i would like to remove also the "/entry" part.
And for both, i would like to "blog" to appear before the category.
How can i do that?

With virtuemart, this is the default behaviour, categories just appear in the breadcrumb and url. And that is how i would like to show up, to be consistent across the website.

Regards!
I managed to remove the ID category / post from the URL.
I have spanish translation, and the option for doing this is not very well translated, so it was hard to guess.

For the other issues, ive found this post in the forum: http://stackideas.com/forums/entry-url
And Fred gave a solution to do what i want, its almost the last of the replies.
Its really necesary to do all that to have the URL and breadcrumb in the way i want?

Regards
·
Saturday, 02 November 2013 20:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Sorry for the late reply as it's the weekends. Unfortunately we do not have setting for this If you want to achieve it they way you have described then yes you will have to hack the files Did I miss anything else here?

Thanks!
·
Sunday, 03 November 2013 00:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Adelene!
I dont like to modify core files, but can you point me where to look to achieve breadcrumbs and URL the way i want?
Although, i think:
website.com/category/article
Start>category>article
Its quite standard. You may consider adding this option in a future release?
The "/entry/" in the url dont make any sense. And why you categories are not shown in breadcrumbs?
Thanks for your time
·
Sunday, 03 November 2013 01:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Sorry for the late reply. For one the "entry" is actually a view. In Joomla without the view Joomla router can't trace the URL properly. So that can't actually be removed unless you use SEO components like sh404SEF.

To partially achieve this "http://website.com/category/article" (without sh404SEF) you will need to go to backend -> EasyBlog -> Settings -> SEO -> General and set the "URL Format for your entry" to "Category Based - http://yoursite.com/menu/view/category/title". There is another way to do this but I will explain it below.

As for the Breadcrumbs you can hack the codes here

JOOMLA/components/com_easyblog/views/entry/view.html.php

but to achieve this in a better way is to create a Single Category Layout menu type for each of you categories and then in backend -> EasyBlog -> Settings -> SEO -> Advanced Settings set the "EasyBlog Routing Behavior" to "Default". Then set the "Category" to 1 and set the "Or, ignore this item" adjacent to the "Category" to NO. This is also another way to achieve "http://website.com/category/article". Hope this helps.

Thanks!
·
Monday, 04 November 2013 18:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Is there better way to archive http://website.com/category/article?
As the advice from Adelene, I have to create a menu for each Category?

Edited: I can make it following Adelene guideline (adding Single Category Layout menu items to a hidden menu)
·
Saturday, 14 December 2013 23:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry for the late reply. If you have created the Single Category layout menu items you should then go to the backend -> Easyblog -> Settings -> SEO -> General and set the "URL Format for your entry" to SIMPLE. Hope this helps.

Thanks!
·
Sunday, 15 December 2013 14:49
·
0 Likes
·
0 Votes
·
0 Comments
·
It works. however, the Breadcrumb still shows the blogger: http://screencast.com/t/Hm4wgy9BV
·
Sunday, 15 December 2013 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sorry for the late reply as it's the weekends. You can remove this in backend -> EasyBlog -> Settings -> Layout -> General. Here turn off the "Show blogger name in breadcrumbs" Hope this helps.

Thanks!
·
Monday, 16 December 2013 01:19
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post