New product not showed or canonicals changed

  • Posts: 3
  • Thank you received: 0
9 years 7 months ago #227572

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.17
-- Browser(s) name and version -- : Different

When I create a new product, it’s showed on the product page but if you click on it, it gives a 404-error. It doesn’t matter if I specify the canocical in the product page or not.
In configurations features SEF “delete product and category id” is set to yes and Force SEF is "Use canonical URL if specified".

You suggested in an earlier reply to change the above settings to no and no (“You can keep the canonical URLs. Just turn off the "force canonical URLs on listings" setting of the HikaShop configuration and the system won't use the canonical URLs on the listings but it will still be used as canonical URL”). But, if I change both (above specified) setting to ‘no’ and ‘no’, then it shows the new product and the old ones, but with new URL’s (the product-ID is in it). So all my old URL’s will be showed in a different way and it will change of course the way Google will index it. And all the URL’s which are indexed by Google are wrong and will result in an error. When a product has different categories, you cannot choose your own preferred URL. Setting one of the two (above mentioned) settings to no, than I have the same kind of problems.

Do you have a solution for this so that I can create new products and keep my old (canonical) URL’s?

Please Log in or Create an account to join the conversation.

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 7 months ago #227574

Hi,

If you still have a 404 error when only the "Use canonical URLs on listings" setting is turned off, it means that there is a problem with the alias of the product in the URL which doesn't correspond to the product name exactly. In that case, you need to enter that alias in the "alias" field of the product so that the system can match it with the product when processing the URL for the display of the product.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
9 years 7 months ago #227681

Thank you for your reply.
My alias was exactly the same as the product name. The product name was: Test3, the alias test3 and the canonical /category1/test3.
I tried different things and suddenly I saw that a product name with at least one space, e.g. Test 3 (alias test-3) solved the problem. I tried different product names and in any case a product name without a space gave the problem (404 error). So it seems that a product name needs a space in it and/or an alias at least one -.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum