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

#   Search result for other languages go to 404-page

##

- **[yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")**
- [![yvo&#95;wilms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile") Topic Author
- [ Offline](/forum/user/37661-yvo-wilms)

Less More

- Posts: 20
- Thank you received: 0
-
-

11 years 4 months ago [\#208477](#208477) by [yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")  *[Search result for other languages go to 404-page](/forum/45-filters-search/878181-search-result-for-other-languages-go-to-404-page#208477 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  When configuring the Hikashop search plugins everything seems to work ... for the default language. For the other languages (4 now but more to come) however I get a 404 whenever I click on a link to a product that was found in the hikashop. I've been looking for the answer in the forum but can't find this specific problem (or a solution to this problem)... &quot;Force canonical URLs on listings&quot; is set to &quot;No, generate the URL's&quot; because I noticed some unexpected behaviour when this was set to &quot;use canonical url if specified&quot; (when browsing the products in our catalog the language seemed to change for the whole site) the regular content that shows up in the search results does work ... only products from the Hikashop don't.")* was created by *[yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

When configuring the Hikashop search plugins everything seems to work ... for the default language.
For the other languages (4 now but more to come) however I get a 404 whenever I click on a link to a product that was found in the hikashop.
I've been looking for the answer in the forum but can't find this specific problem (or a solution to this problem)...
"Force canonical URLs on listings" is set to "No, generate the URL's" because I noticed some unexpected behaviour when this was set to "use canonical url if specified" (when browsing the products in our catalog the language seemed to change for the whole site)
the regular content that shows up in the search results does work ... only products from the Hikashop don't.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg3ODE4MS1zZWFyY2gtcmVzdWx0LWZvci1vdGhlci1sYW5ndWFnZXMtZ28tdG8tNDA0LXBhZ2U/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

11 years 4 months ago [\#208485](#208485) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Search result for other languages go to 404-page](/forum/45-filters-search/878181-search-result-for-other-languages-go-to-404-page#208485 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  When configuring the Hikashop search plugins everything seems to work ... for the default language. For the other languages (4 now but more to come) however I get a 404 whenever I click on a link to a product that was found in the hikashop. I've been looking for the answer in the forum but can't find this specific problem (or a solution to this problem)... &quot;Force canonical URLs on listings&quot; is set to &quot;No, generate the URL's&quot; because I noticed some unexpected behaviour when this was set to &quot;use canonical url if specified&quot; (when browsing the products in our catalog the language seemed to change for the whole site) the regular content that shows up in the search results does work ... only products from the Hikashop don't.")*

Hi,

1. That's probably because the menu item id that you entered in the menu item option of your HikaShop Products search plugin comes from a menu item which is restricted to only one language. And since you configured the "Force canonical URLs on listings" setting to calculate the URLs dynamically, the system will calculate the URL to the product each time.
The problem is that if the current language and the language of the menu item used by the plugin are not the same, the generated link will be rejected by the SEF system of Joomla when you click on it and you'll get a 404 error.
The solution is to enter the id of a menu item which isn't restricted to one language.
Ideally, instead of translating your menu items by creating different menu items and assigning each to a different language, it's better to setup only one menu item and translate it using Falang or JoomFish.

2. The behavior you're describing when you activate the "Force canonical URLs on listings" indicates that you have a canonical URL configured in your product but that you didn't configure a canonical URL for that product for each language. So the system uses always the same URL, regardless of the language. If you specify a canonical URL for each language with the correct language tag in it, you'll get the correct behavior when you activate the "Force canonical URLs on listings" setting.

The following user(s) said Thank You: [yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")

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

- **[yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")**
- [![yvo&#95;wilms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile") Topic Author
- [ Offline](/forum/user/37661-yvo-wilms)

Less More

- Posts: 20
- Thank you received: 0
-
-

11 years 4 months ago [\#208557](#208557) by [yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")  Replied by *[yvo\_wilms](/forum/user/37661-yvo-wilms "View yvo&#95;wilms's Profile")* on topic *[Search result for other languages go to 404-page](/forum/45-filters-search/878181-search-result-for-other-languages-go-to-404-page#208557 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  When configuring the Hikashop search plugins everything seems to work ... for the default language. For the other languages (4 now but more to come) however I get a 404 whenever I click on a link to a product that was found in the hikashop. I've been looking for the answer in the forum but can't find this specific problem (or a solution to this problem)... &quot;Force canonical URLs on listings&quot; is set to &quot;No, generate the URL's&quot; because I noticed some unexpected behaviour when this was set to &quot;use canonical url if specified&quot; (when browsing the products in our catalog the language seemed to change for the whole site) the regular content that shows up in the search results does work ... only products from the Hikashop don't.")*

That was exactly what was wrong ... thank you ...
the canonical urls ... i will leave them the same as it was ... all my products are imported via cron directly from our erp-software ... since there is no url in our erp (and certainly no url per language) our IT-team would not be pleased if they have to come up with something like this ... ![;-)](/media/kunena/emoticons/24.png ";-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg3ODE4MS1zZWFyY2gtcmVzdWx0LWZvci1vdGhlci1sYW5ndWFnZXMtZ28tdG8tNDA0LXBhZ2U/dG1wbD1tYXJrZG93bg==) 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.047 seconds

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