[Skip to main content](#vessel-content)

#   Joomla 3.4 Update: Two language parameters in URL

##

- **[disc](/forum/user/35571-disc "View disc's Profile")**
- [![disc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35571-disc "View disc's Profile") Topic Author
- [ Offline](/forum/user/35571-disc)

Less More

- Posts: 43
- Thank you received: 3
-
-

11 years 8 months ago [\#192120](#192120) by [disc](/forum/user/35571-disc "View disc's Profile")  *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192120 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")* was created by *[disc](/forum/user/35571-disc "View disc's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
-- Browser(s) name and version -- : all

Hi,
since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL.
Example:
The right URL is: [ mydomain.com/index.php/en/mycategory](http://mydomain.com/index.php/en/mycategory)
That URL refers to the right category and displays in correctly.
After updating to Joomla 3.4 another language paramater is added to all HikoShop Links:
The URL now is: [ mydomain.com/index.php/en/mycategory/](http://mydomain.com/index.php/en/mycategory/)lang-en-GB
The content will not be found anymore. After deleting the parameter lang-en-GB in the browser URL path manually, the related content will be displayed.
URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter.
Anyone got a clue?

Thanks, disc

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[DavidThor](/forum/user/30643-davidthor "View DavidThor's Profile")**
- [![DavidThor's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30643-davidthor "View DavidThor's Profile")
- [ Offline](/forum/user/30643-davidthor)

Less More

- Posts: 43
- Thank you received: 0
-
-

11 years 8 months ago [\#192232](#192232) by [DavidThor](/forum/user/30643-davidthor "View DavidThor's Profile")  Replied by *[DavidThor](/forum/user/30643-davidthor "View DavidThor's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192232 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

I've got the same problem!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 8 months ago -  11 years 7 months ago [\#192251](#192251) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192251 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hi,

We were able to replicate the issue. It appears only with the System language filter plugin activated and only since Joomla 3.4.
The solution is to change the line: Code:

if(!in_array($name,array('option','Itemid','start','format','limitstart'))){

to: Code:

if(!in_array($name,array('option','Itemid','start','format','limitstart','lang'))){

in the file components/com_hikashop/router.php

Last edit: 11 years 7 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice

The following user(s) said Thank You: [DavidThor](/forum/user/30643-davidthor "View DavidThor's Profile"), [disc](/forum/user/35571-disc "View disc's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[disc](/forum/user/35571-disc "View disc's Profile")**
- [![disc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35571-disc "View disc's Profile") Topic Author
- [ Offline](/forum/user/35571-disc)

Less More

- Posts: 43
- Thank you received: 3
-
-

11 years 7 months ago [\#192818](#192818) by [disc](/forum/user/35571-disc "View disc's Profile")  Replied by *[disc](/forum/user/35571-disc "View disc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192818 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Thanks. That fixed it!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")**
- [![webmaster-fc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")
- [ Offline](/forum/user/33550-webmaster-fc)

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#192917](#192917) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192917 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Joomla! 3.4.0
com_hikashop_business_v2.3.5
com_hikamarket_multivendor_v1.6.0

Hello
I have the same problem
But when I change this line in components/com_hikashop/router.php
The homepage of my site is white
I also own hikamarket_multivendor
Should also modify the components/com_hikamarket/router.php file
Thanks for your help

Bonjour,
J'ai le mème problème
Mais quant je change cette ligne dans components/com_hikashop/router.php
La page d'accueil de mon site est blanche
Je possède aussi hikamarket_multivendor
Faut-il modifier aussi le fichier components/com_hikamarket/router.php
Merci pour votre aide

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")**
- [![Jonkerm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33565-jonkerm "View Jonkerm's Profile")
- [ Offline](/forum/user/33565-jonkerm)

Less More

- Posts: 8
- Thank you received: 1
-
-

11 years 7 months ago [\#192919](#192919) by [Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")  Replied by *[Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192919 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

i have the same problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#192923](#192923) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192923 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hi,

@webmaster-fc : if you also have issues in HikaMarket, yes, the best will be to also modify the HikaMarket router and use this line of code Code:

if(!in_array($name, array('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {

@Jonkerm : please use the patch that Nicolas gave in a previous post.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")**
- [![Jonkerm's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33565-jonkerm "View Jonkerm's Profile")
- [ Offline](/forum/user/33565-jonkerm)

Less More

- Posts: 8
- Thank you received: 1
-
-

11 years 7 months ago [\#192951](#192951) by [Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")  Replied by *[Jonkerm](/forum/user/33565-jonkerm "View Jonkerm's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192951 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

I did that. the double language url is then solved. But not the white pages.
That's why I put it back to original.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")**
- [![webmaster-fc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")
- [ Offline](/forum/user/33550-webmaster-fc)

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#192956](#192956) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192956 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

I modified the components/com_hikashop/router.php file
If (! in_array ($name, array ('option', 'Itemid', 'start', 'format', 'limitstart'))) {}
by
If (! in_array ($name, array ('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {}

---

and I added the following line in the components/com_hikamarket/router.php file
If (! in_array ($name, array ('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {}
This is normal space in ',' or set ','
and or put this line in the components/com_hikamarket/router.php file
----
I am doing a test here, but still my white home page
foreach ($segments as $name) {}
If (! in_array ($name, array ('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {}
If (isset ($vars ) &amp; isset ($vars [task]) &amp; $shopConfig-&amp;gt; get('sef_remove_id',0) &amp; hikmarket_retrieve_url_id ($vars, $name))

Greetings

J'ai modifié le fichier components/com_hikashop/router.php
if(!in_array($name,array('option','Itemid','start','format','limitstart'))){
par
if(!in_array($name,array('option','Itemid','start','format','limitstart','lang'))){

---

et j'ai ajouté la ligne suivante dans le fichier components/com_hikamarket/router.php
if(!in_array($name, array('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {
c'est normal l'espace dans ', ' ou mettre ','
et ou mettre cette ligne dans le fichier components/com_hikamarket/router.php
----
j'ai fais un essai ici, mais toujours ma page d'accueil blanche
foreach($segments as $name) {
if(!in_array($name, array('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {
if(isset($vars) &amp;&amp; isset($vars) &amp;&amp; $shopConfig-&gt;get('sef_remove_id',0) &amp;&amp; hikmarket_retrieve_url_id($vars, $name))

Salutations

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#192961](#192961) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#192961 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hi,

Please check your PHP error log.
Regarding the code you pasted, one time it is good (in the "French section") and another time wrong (in the "English section").
So it is difficult to know what you have really pasted in HikaMarket.
Please note that you can use the "[ code ]" tag in order to paste code.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")**
- [![webmaster-fc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")
- [ Offline](/forum/user/33550-webmaster-fc)

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#193016](#193016) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#193016 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

There is nothing in my journal error.php
For the rest, I did not fully understand your explanations and I handed over the original files in place
I'll wait a possible updating
Thank you

il n'y a rien dans mon journal error.php
Pour le reste, je n'ai pas bien compris vos explications et j'ai remis les fichiers originaux en place
Je vais attendre une mise à jour éventuelle
Merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 7 months ago [\#193074](#193074) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#193074 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hi,

What Jerome was saying is that in french section of your post the code is correct, but not in the English one, in the english one you have "{}" in stead of only "{" for the foreach and the if condition.. ![;)](/media/kunena/emoticons/11.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")**
- [![webmaster-fc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")
- [ Offline](/forum/user/33550-webmaster-fc)

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#193139](#193139) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#193139 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hikashop, the problem is solved I had well put {} instead of {}
But I had a problem with categories that retained the canonical url with lang-en-at the end of urls
It is now set and everything runs smoothly

Still me have the problem with HikaMarket
In the components/com_hikamarket/router.php file, I do not know or paste
If (! in_array ($name, array ('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {}

Thanks again

---

Hikashop, le problème est résolu j'avais bien mis {} à la place de {
Mais il me restait un problème avec les catégories qui conservaient les url canoniques avec lang-fr-FR à la fin des urls
C'est maintenant réglé et tout fonctionne bien

Il me reste le problème avec HikaMarket
Dans le fichier components/com_hikamarket/router.php , je ne sais pas ou coller
if(!in_array($name, array('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {

Encore merci

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#193147](#193147) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#193147 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

Hi,

Once again, the english part contains "{}" instead of "{" ; but because you said it is working I think that the right one is the French one.
So, for HikaMarket, the file is "components/com_hikamarket/router.php" and the line to replace is Code:

if(!in_array($name, array('option', 'Itemid', 'start'))) {

With the new content Code:

if(!in_array($name, array('option', 'Itemid', 'start', 'format', 'limitstart', 'lang'))) {

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")**
- [![webmaster-fc's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")
- [ Offline](/forum/user/33550-webmaster-fc)

Less More

- Posts: 8
- Thank you received: 0
-
-

11 years 7 months ago [\#193151](#193151) by [webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")  Replied by *[webmaster-fc](/forum/user/33550-webmaster-fc "View webmaster-fc's Profile")* on topic *[Joomla 3.4 Update: Two language parameters in URL](/forum/26-product-category-display/875237-joomla-3-4-update-two-language-parameters-in-url#193151 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Browser(s) name and version -- : all  Hi, since updating to Joomla 3.4 all HikaShop Links have two language paramaters in the URL. Example: The right URL is:   mydomain.com/index.php/en/mycategory  That URL refers to the right category and displays in correctly. After updating to Joomla 3.4 another language paramater is added to all HikoShop Links: The URL now is:   mydomain.com/index.php/en/mycategory/  The content will not be found anymore. After deleting the parameter in the browser URL path manually, the related content will be displayed. URLs that refer to other content (outside HikaShop) are not affected and do not show the second language parameter. Anyone got a clue?  Thanks, disc")*

OK, it's good for everything
This is my Bing translator translator who added the second }
A big thanks to you

---

ok, c'est bon pour tout
c'est mon traducteur Bing Traducteur qui ajoutait le deuxième }
Un grand merci à vous

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMzctam9vbWxhLTMtNC11cGRhdGUtdHdvLWxhbmd1YWdlLXBhcmFtZXRlcnMtaW4tdXJsP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.573 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
