Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Links of menu entries are pointing to wrong lang.
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Links of menu entries are pointing to wrong lang.

Links of menu entries are pointing to wrong lang. 12 years, 4 months ago #32356

  • cre
  • OFFLINE
  • Posts: 6
Hi!

We are having problems (Joomla 2.5.6) with the plugin after a certain amount of time after we deleted all SEF URLs. We have a menu structure of two tiers. If I select a certain point within tier one (that has a tier two), the links of the menu entries of tier one that don't have a tier two are pointing to the wrong language.
So let's say in tier one there is an entry "Company". If I select this entry, the menu entry "Contact" uses the correct name, but the link is to a non-english website.
We don't know why this happens or when it starts happening (because in the beginning everything is all right). But the only thing that helps is to delete all SEF URLs.

As this is our company website, we would be really thankful for a solution to this problem.

Best regards!
The topic has been locked.

Re: Links of menu entries are pointing to wrong lang. 12 years, 4 months ago #32374

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Do you use Joomla native multilanguage features or the FaLang component?
When this problem happens, what is the SEF URL for Contact link? Are there any duplicates for that SEF URL stored in JoomSEF's URLs Manager? What are the Real non-SEF URLs stored there for the link?
ARTIO Support Team
The topic has been locked.

Re: Links of menu entries are pointing to wrong lang. 12 years, 4 months ago #32388

  • cre
  • OFFLINE
  • Posts: 6
Hi,

we use the native joomla feature.
The links are domain.com/de/kontakt for the german language (index.php?option=com_foxcontact&lang=de&view=foxcontact&Itemid=135 )
and domain.com/en/contact for the english page (index.php?option=com_foxcontact&lang=en&view=foxcontact&Itemid=107).
The problem is not a global language problem, because the "contact" language link problem depends on the current site.
You can visit our domain to see the problem. Go to the german "deutsch" site. You start on the home site every link seems to be ok.
Change to "ip-cores" and you will see that the "kontakt" and the "Home" menu items refer to the english pages.
We have lot of duplicated link, but we don't know why, because the targets the same adresses but with different languages?
Example:
de/ip-core/software-ip => index.php?option=com_content&catid=12&id=29&lang=en&view=article&Itemid=173
de/ip-core/software-ip => index.php?option=com_content&catid=12&id=29&lang=de&view=article&Itemid=173

What can we do?
The topic has been locked.

Re: Links of menu entries are pointing to wrong lang. 12 years, 4 months ago #32420

  • dajo
  • OFFLINE
  • Posts: 5069
I'm sorry, but you haven't posted a link for your website, so I can't check the problem there.
It's strange that there are links starting with de/ but linking to en language. I'd suggest deleting them and see if they appear again.
You can find them automatically by setting filters as follows:

Filter SEF URLs: reg:^de(/|$)
Filter Real URLs: &lang=en


Then you can use select boxes in toolbar to delete all filtered URLs. Then you can do the same for other language combinations, eg.:
Filter SEF URLs: reg:^en(/|$)
Filter Real URLs: &lang=de


You can also enable the URL source tracing in JoomSEF's Configuration on the Advanced tab, so when such URL appears again, some information about its origin will be stored, which can help locating source of the problem.
ARTIO Support Team
The topic has been locked.

Re: Links of menu entries are pointing to wrong lang. 12 years, 3 months ago #32471

  • cre
  • OFFLINE
  • Posts: 6
Thank you for the debugging hints.
Last Edit: 12 years, 3 months ago by cre. Reason: double entry
The topic has been locked.

Re: Links of menu entries are pointing to wrong lang. 12 years, 3 months ago #32472

  • cre
  • OFFLINE
  • Posts: 6
Thank your providing the code for debugging it.
The problem are "old" links and references. For instance in former version we have a valid adresse like
"/index.php/de/kontakt". This link works up to now, I don't now why, if you type it into the browser. The problem is if you follow the link the German contact page appearse, but the ARTIO plugin "loses" the used language. That means if you click other links from this side the double links with the wrong language will be created by the plugin. I have removed all inter-page reference to this page.
The main problem is that there are exist external reference on this side (i.e. from google).
If the google bot request this side the double links will be recreated.
I know the plugin can not be responsible for old links, but I think the problem with the "losing" language can be improved in a future version.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty