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

#   SEO urls problem

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

11 years 2 months ago [\#209755](#209755) by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")  *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#209755 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")* was created by *[raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4

Hi,

i created the main part of my website with SEO turned off in the joonla settings.
When i was almost finished i turned it on and imported some new products.
Those newly created products resulted in a 404 error. So i turned the SEO option off again.
Now everything works except:
1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work.
2) when using the joomla search the newly created products have the SEO urls with "?option=com_search&amp;Itemid=9999" appended at the end. Which of course doesn't work at all.

So how can i trigger to recreate the SEO urls of products?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg0MTUtc2VvLXVybHMtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 2 months ago [\#209756](#209756) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#209756 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

Hi,

Please check your **SEF** settings in HikaShop.
[ www.hikashop.com/support/support/documen...ig.html#features\_sef](http://www.hikashop.com/support/support/documentation/54-hikashop-config.html#features_sef)

If you're providing/generating wrong canonical URL and you force HikaShop to use that URL ; it will result a lot of 404 pages.
At this moment I'll recommend you to clean your canonical url or do not activate the setting to force it.

Regards,

---

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

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

11 years 2 months ago [\#209794](#209794) by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")  Replied by *[raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#209794 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

ok, now i've set "**Force canonical URLs on listings**" to "**No, generate the URLs**"
The shop frontend now works again as expected.

But the issue with the search-result (from com_search) are still using the wrong SEF url (with "?option=com_search&amp;Itemid=9999" appended)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg0MTUtc2VvLXVybHMtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 2 months ago [\#209803](#209803) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#209803 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

Hi,

That's probably because in the "itemid" setting of the HikaShop products search plugin, you entered the id 9999 instead of the id of a HikaShop products listing menu item. So please check that setting.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

11 years 2 months ago [\#210085](#210085) by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")  Replied by *[raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210085 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

I've checked that. I didn't specify (empty) an ItemId in the settings of the search module.
So i checked the template overrides and there was one available so i temporarily disabled it. And even with Joomla's 'original' search module the problem exists and behaves the same.

The hikashop search plugin returns a SEF url and appends some additionally parameters. The urls are fine for all other products.
When "?option=com_search&amp;Itemid=9999" gets appended the user is redirected to the search component instead of com_hikashop. I also removed the ItemId from the code to check, but then the currents page ItemId is taken instead, so no change.

There is just something wrong with the URLs generated for the newly imported products while SEO was enabled in the joomla settings.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg0MTUtc2VvLXVybHMtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 2 months ago [\#210094](#210094) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210094 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

Hi,

As I said, you need to enter the id of a menu item of the type HikaShop products listing in the Itemid setting of the plugin.
Try that and that should hopefully help.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

11 years 2 months ago -  11 years 2 months ago [\#210243](#210243) by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")  Replied by *[raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210243 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

specifying the itemid in the hikashop search plugin only affects the already working products - the ones where not the SEO url is generated.
The non working ones are unaffected.

Since we have ~22.000 products listed in the shop i didn't notice that there are also older imported products which do not work.
So whats taken into account for creating the SEO url? Why are still SEO urls generated when SEO is disabled?!

Last edit: 11 years 2 months ago by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg0MTUtc2VvLXVybHMtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 2 months ago [\#210248](#210248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210248 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

If you don't see any change in the URL of some of the products, it probably means that you have a URL set in the "canonical URL" field of the product and the system is using that URL instead of generating one.
So make sure that this canonical URL is correct.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

11 years 2 months ago [\#210454](#210454) by [raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")  Replied by *[raven-worx](/forum/user/36141-raven-worx "View raven-worx's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210454 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

yes, it seems that was the issue.
There were about 80 products with a canonical url specified. But how it comes? I never entered any value there?
Is it autoamtically filled when SEO is enabled and the product is viewed (in the frontend)?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzg0MTUtc2VvLXVybHMtcHJvYmxlbT90bXBsPW1hcmtkb3du) 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 2 months ago [\#210477](#210477) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[SEO urls problem](/forum/26-product-category-display/878415-seo-urls-problem#210477 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4  Hi,  i created the main part of my website with SEO turned off in the joonla settings. When i was almost finished i turned it on and imported some new products. Those newly created products resulted in a 404 error. So i turned the SEO option off again. Now everything works except: 1) The newly added products still have SEO urls, all old products have the standard joomla urls. But both work. 2) when using the joomla search the newly created products have the SEO urls with &quot;?option=com&#95;search&amp;Itemid=9999&quot; appended at the end. Which of course doesn't work at all.  So how can i trigger to recreate the SEO urls of products?")*

Hi,

It is automatically filled if you have the "force canonical URL on listing" setting set to "Use canonical URL and generate it if missing" in the HikaShop configuration and that it is empty, which is not the case by default.
That way, the link to the product page will always be the same.
But if later on you change the menu structure of your website, the link there might be incorrect and thus you'll have to empty the canonical URL field of the products again.

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

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

[](#top)
