By Dreamonde Limited / Alfred Tang on Thursday, 08 May 2014
Posted in Technical Issues
Replies 16
Likes 0
Views 1.3K
Votes 0
Hi Team,

I would like to seek some advise from your team for SEO routing for EasyBlog. FYI, I will use EasySocial, EasyBlog, and Komento together.

I have below structure initially for my site:

Home
- EasySocial (/town)
- EasyBlog (/blog)
+ - Blog Mainpage (/blog/home)
+ - Blogger's page (/blog/blogger)
+ - Team Blog Page (/blog/team) [Teamblog layout]

Initially I am having problem with Komento, Stream item from Komento do not have a correct SEF while redirecting traffics from EasySocial Page to EasyBlog page. I have the solution (from this http://stackideas.com/forums/komento-app-s-sef-link-in-social-easy) by setting the default menu item for EasyBlog. Everything works fine then.

However, now I have another problem for fixing Easyblog's menu id by adding additional site structure as below:

Home
- EasySocial (/town)
- EasyBlog (/blog)
+ - Blog Mainpage (/blog/home)
+ - Blogger's page (/blog/blogger)
+ - Team Blog Page (/blog/team) [Teamblog layout]
- Teamblog "ABC" homepage (/a-team)
+ - blogs (/a-team/blog) [Single Teamblog layout]

I want a specific team (eg: a-team) to have their own team's homepage, with their own modules and designs; and their blog actually links to their teamblog page within EasyBlog.

If I've "fixed" the EasyBlog's menu id (within the SEO setting),
- Clicking /a-team/blog can see the a-team's teamblog listing, but clicking ANY articles will end up with SEF : /blog/team/entry/2014/05/07/6-articlename
- Designs/ modules will NOT follow /a-team/blog, but /blog/team settings,

If I've set "Use Current Active Menu Itemid" in EasyBlog's (within the SEO setting),
- Clicking /a-team/blog can see the a-team's teamblog listing, clicking ANY articles will end up with SEF : /a-team/blog/entry/2014/05/07/6-articlename
- Designs/ modules will follow /a-team/blog settings.
- This creates 2 SEF path for same article.
- Clicking the team's article within /blog/team/ will not lead to /a-team/blog and its design / themes/ module setting.

MY wish / desired outcome:
- Clicking links within /blog/team will leads to teams with their own homepage (eg: /a-team/blog), with their own module settings and themes, when it is available (some team's may not have their own "homepage")
- Komento APP's links in EasySocial still workout a correct SEF ( re-direct to an article within EasyBlog's with it's module and theme settings, or team's specific homepage path if it is available)

I just wonder to deal with this situation, do i need to use SEF404 to avoid duplicated / redundant SEF for same article? or I can take a look for "EasyBlog Routing Behavior: Default"? If so , for my case, how should I setup ?

Apologize for the long question but I really need some advice from your team. Thanks ahead.
I've tried to play with the "EasyBlog Routing Behavior = Default" and tweak those settings but have no luck to get my desired result.

This is what I have done (for testing):
(Menu)
- ADD: a menu item : EasyBlog » Single Team Blog layout = "TeamA" , url /team-a
- EasyBlog » Frontpage Blog Layout, with url /blog
- EasyBlog » Team Blog Layout, with url /blog-team

(EasyBlog > Settings > SEO)
- EasyBlog Routing Behavior = Default
- Set "Teamblog = 1" , and "Or, ignore this item: No"

However, the result:
- Click the "TeamA" with /team-blog, leads to /blog-team/teamblog/listings/1-team-a
>> I expect it should goes to /team-a

- Click any article within the TeamA's teamblog page, result also negative.
- at /blog-team/teamblog/listings/1-team-a , click an article leads to /blog/entry/2014/05/07/6-testarticle
- Same result when I goto /team-a , click any article leads to /blog/entry/2014/05/07/6-testarticle
>> I expect it goes to at least /team-a/entry/2014/05/07/6-testarticle

not sure why is it happening but seems the "default" is totally not function in my case. I tried a similar setup for "Category" also same result, not working.

Thanks.
·
Thursday, 08 May 2014 20:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

I'm really sorry that delayed of this reply,
I have checked in our local with your scenario, it seems like that was a bug, can you download my attachment file and replace in
JoomlaFolder\components\com_easyblog\helpers\router.php
Then you should set Teamblog "Or, ignore this item: " NO
and see how it goes?
·
Friday, 09 May 2014 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I confirm the team blog is working! Thanks.

However, am trying the same with Single Category Layout, and the problem still with "category".

FYI, if I set it for category, the url turns out:
blog/categories/listings/22-catname
but I expect something like this:
+ADD menu for Single Category Layout - Test category /test-cat/
test-cat/

Thanks.
·
Friday, 09 May 2014 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

You're welcome.
I have tried in my local, it seems like work for me, please check my screenshot below :
If i missing something here, please let me know
·
Friday, 09 May 2014 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
May I ask your help to check my screenshot ? It seems not working for me somehow.

p.s.
the 4th screen-shot showing the not-working url for "category"
the 5th screen-shot showing the working url for "teamblog"
·
Friday, 09 May 2014 16:59
·
0 Likes
·
0 Votes
·
0 Comments
·
FYI, the category has been excluded from the dashboard listing publicly (using this tricks: http://stackideas.com/docs/easyblog/how-tos/create-category-as-page-content-separated-from-easyblog)

but changing the category back to "public" access doesn't help
·
Friday, 09 May 2014 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

Sorry for late reply to this,
May i have your temporary access so we can investigate on this issues? Please advise.
·
Friday, 09 May 2014 19:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Thanks and I've just updated the online UAT site for your testing, feel free to play with it. Same, I've granted full access for below folders for for the ftp user.

components/com_easyblog
administrator/components/com_easyblog
media/com_easyblog

I've created a menu under Town > Test Category - EasyBlog
- attached also 2 screenshot for the url for category link, and item link inside that category.

Let's me know if you need additional access to it. Thanks ahead.
·
Friday, 09 May 2014 20:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Please advise if you have any findings with this issue with "Category", thanks a lot
·
Monday, 12 May 2014 10:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

I've re-configured it for you. Is this what you want to be displayed: http://screencast.com/t/L9e4GF1h6jP ? Please advise.
·
Monday, 12 May 2014 19:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick,

Nope. This is the result without the routing working correctly.

I've created a menu "/main/en/town/test-cat" for the category, so I expect all items inside the category should be :

/main/en/town/test-cat/9-test-item-for-category

Same for the Teamblog, it works now after Arlex fixed the bug, but the category still not working in my scenario / environment.

Thanks.
·
Monday, 12 May 2014 19:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

May I know if you have any findings? thanks.
·
Tuesday, 13 May 2014 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I found the problem may be caused by the Falang (Multilingual Component). I tried to disable the "Falang" components / plug-ins and the "Category" routing is working. However, since the "Teamblog" routing also working under with Falang enable; would you please take a look to make "Category" also work under Falang-enabled, just like teamblog?

Thanks. This is quite urgent now.
·
Wednesday, 14 May 2014 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

I'm really sorry that delayed of this reply, because I went back from my hometown for vacation in this few day.
I have fixed something in this file also -> JoomlaFolder\components\com_easyblog\helpers\router.php LINE 1077
Please have a check.
·
Wednesday, 14 May 2014 22:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I want to give my BIG thanks to your help. It's now working flawlessly! Not sure if you have time to test for other parts (Bloggers, entry,etc) but for my site requirement, it's good to go now!

Anyway, will you include this fixes into your next release of EasyBlog? (Actually I suggest you to share it here before the next release for others)

Nice to hear that you have been for a nice trip! It's good to have some rest for a longer run... Hope you enjoy your trip too!
·
Thursday, 15 May 2014 00:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alfred,

You're welcome, we will appreciated who reporting the bug, so we will fix it as soon as possible.
Yes, this all fixes will be including in next release version of Easyblog.
You can let us know that result if you tested the (bloggers, entry, etc) and see how it goes.
Hope your site everything to be smooth. All the best too.
·
Thursday, 15 May 2014 02:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post