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

#   Products in a specific sub category can't be clicked on added do cart

##

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

Less More

- Posts: 59
- Thank you received: 2
-
-

6 years 2 months ago [\#323401](#323401) by [allbs](/forum/user/40031-allbs "View allbs's Profile")  *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323401 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")* was created by *[allbs](/forum/user/40031-allbs "View allbs's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.19
-- Browser(s) name and version -- : Firefox 80.0

Hi,

In a specific sub category all products listed if you click on them you get redirected to the main index page.

i try added a new product and same happens.

some of them allow to add to cart but if we open the item we get redirected to index.

all the other categories and sub categories are working fine.

we can't find what's the problem.

any ideals?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDY4MC1wcm9kdWN0cy1pbi1hLXNwZWNpZmljLXN1Yi1jYXRlZ29yeS1jYW50LWJlLWNsaWNrZWQtb24tYWRkZWQtZG8tY2FydD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14300
-
-

6 years 2 months ago [\#323410](#323410) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323410 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")*

Hi,

Your website requires a user account to access it.
So I can't check the situation and thus I'm not sure what is the problem as I need more information to confirm my speculations
However, I think it's probably an issue with the SEF and maybe canonical URLs.
Check if you have the "Force canonical URLs on listings" setting activated in the HikaShop configuration and if you do, try to turn it off and then clear your website cache if any.
If the URL to the products details page work after that then it would confirm that it comes from the canonical URLs of the products which are incorrect.

If not, we would need an access to your frontend to check the situation. If you want to provide that privately, you can go through our contact form: [ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

6 years 2 months ago [\#323415](#323415) by [allbs](/forum/user/40031-allbs "View allbs's Profile")  Replied by *[allbs](/forum/user/40031-allbs "View allbs's Profile")* on topic *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323415 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")*

Hi nicolas, thanks for the reply.

the setting "Force canonical URL's" was disable. i try to enable it and disable but made no difference.

will be sending you the user/pass through the contact form.

thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDY4MC1wcm9kdWN0cy1pbi1hLXNwZWNpZmljLXN1Yi1jYXRlZ29yeS1jYW50LWJlLWNsaWNrZWQtb24tYWRkZWQtZG8tY2FydD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14300
-
-

6 years 2 months ago [\#323427](#323427) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323427 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")*

Hi,

I checked the situation on your frontend and what I can see is that the URLs are correct compared to other products on your website.
AND, there is a 303 redirection to the index.php when you use one of them.
So this makes me think that it might come from a htaccess rule you have on your website which is written in a way which make it match for the URLs of the products in that particular category.
So I would recommend to check your htaccess first and see what you have added to it compared to the default htaccess of Joomla.

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

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

Less More

- Posts: 59
- Thank you received: 2
-
-

6 years 2 months ago [\#323452](#323452) by [allbs](/forum/user/40031-allbs "View allbs's Profile")  Replied by *[allbs](/forum/user/40031-allbs "View allbs's Profile")* on topic *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323452 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")*

Hi nicolas,

thanks for the reply,

I have replaced the .htaccess file with the original htaccess.txt file and the problem still continues

Do you have any more suggestions?

the store was to open in the next month and this weird think happen.

thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDY4MC1wcm9kdWN0cy1pbi1hLXNwZWNpZmljLXN1Yi1jYXRlZ29yeS1jYW50LWJlLWNsaWNrZWQtb24tYWRkZWQtZG8tY2FydD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14300
-
-

6 years 2 months ago [\#323455](#323455) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Products in a specific sub category can't be clicked on added do cart](/forum/25-install-update/900680-products-in-a-specific-sub-category-cant-be-clicked-on-added-do-cart#323455 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7.2.19 -- Browser(s) name and version -- : Firefox 80.0  Hi,  In a specific sub category all products listed if you click on them you get redirected to the main index page.  i try added a new product and same happens.  some of them allow to add to cart but if we open the item we get redirected to index.  all the other categories and sub categories are working fine.  we can't find what's the problem.  any ideals?")*

Hi,

I checked further and I think I know. it's because the alias of the menu item has exactly two words separated by a dash.
In such cases, the system thinks it's a parameter, as SEF parameters are written like this: name-value
I would recommend to change the alias of the menu items with two words to have either one or three words.

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

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