• Home
  • Get help
  • Ask a question
Last post 5 hours 41 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67911
All time tickets 10496
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1376 – hide language category

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Friday, 13 November 2015 13:46 UTC
evillo
 hello,
default joomla sef component hides the language category, while sh404 shows the language category in the url. is there a way to let sh404 work like joomla default sef component?

showing the language category is useless.
Friday, 13 November 2015 14:20 UTC
wb_weeblr
Hi

What do you call a "language category"? are talking about the language code? or actual Joomla content categories?

Rgds
 
Friday, 13 November 2015 15:04 UTC
evillo
Hi,
I mean actual joomla content categories.

When you enable the joomla default language management system you must set a first category for each category.

When you enable the multilanguage, joomla recognizes that the first category is meant to be used for language so it is hided everywhere.
Friday, 13 November 2015 15:10 UTC
wb_weeblr
Hi

When you enable the multilanguage, joomla recognizes that the first category is meant to be used for language so it is hided everywhere.
Not at all. Joomla doesn't care about the categories and do not know whether this is a language or anything else. It doesn't hide them, simply because it doesn't know this is a language category. The top category simply has no meaning on multillingual systems (nor in single language sites).

From a SEO standpoint, It is actually not recommended to separate content using a top-level language category anyway.

What's happening is more simple:

- Joomla uses menu items to build URLs
- sh404SEF uses articles titles and categories to build URLs: you have multiple settings under the "Extensions > Joomla" tab of sh404SEF configuration to decide how you URLs will look.
- having a language code inserted in the URL is decided upon in the Joomla system language filter plugin. The only option there is to hide or show the language code on the default language.

Please note that after changing sh404SEF settings that alter URL structure, you'll have to Purge URLs, so that new ones are recreated.

Rgds
 
Friday, 20 November 2015 01:42 UTC
evillo
hello,
i had several problems finding purge because it is not translated good in italian, but now i found it.

anyway, the Language code is used with other languages. the main Language is meant to skip the code in the url.

i didn't get what is the best practice you suggest.
Friday, 20 November 2015 08:15 UTC
wb_weeblr
Hi

anyway, the Language code is used with other languages. the main Language is meant to skip the code in the url.
I am confused now. You said earlier that the problem was with "actual language categories".

When you enable the joomla default language management system you must set a first category for each category.



When you enable the multilanguage, joomla recognizes that the first category is meant to be used for language so it is hided everywhere.
This is not correct. Joomla does NOT recognize first category is for language and it does NOT hide it.

Have you understood now about this?

Rgds
 
Sunday, 22 November 2015 15:26 UTC
evillo
Well i don't know how but i was able to hide the Language category.

the problem now is that i get double category when i click on menu. (attached image)
Monday, 23 November 2015 08:13 UTC
wb_weeblr
Hi

Well i don't know how but i was able to hide the Language category.
I explained the mechanism above. If you haven't understood the basics of Joomla and sh404SEF routing, you're going to have difficulties in the future. You should really understand that Joomla uses menu items while sh404SEF uses the items category(ies) and title.

You were NOT able to hide categories. Joomla uses menu items.

the problem now is that i get double category when i click on menu. (attached image)


I already replied to that:
- sh404SEF uses articles titles and categories to build URLs: you have multiple settings under the "Extensions > Joomla" tab of sh404SEF configuration to decide how you URLs will look.

- having a language code inserted in the URL is decided upon in the Joomla system language filter plugin. The only option there is to hide or show the language code on the default language.



Please note that after changing sh404SEF settings that alter URL structure, you'll have to Purge URLs, so that new ones are recreated.


Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.