-- url of the page with the problem -- :
pearblossomfarms.com
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : n/a
I have been struggling with trying to create elegant links for my store's products and I am at a complete loss after reading almost every post on this matter in the forum.
I used canonical links, I have used redirects, I am at the end of my rope because I figure something big is evading my scrutiny.
Let me try to explain. There are two aspects to this issue that I need to resolve. One is dependent on the other.
1) Difference between link to category or Product from the main menu
WHen I create a link to a category (lets keep it simple) from the Joomla main menu and using the Hikashop type menmu link I get a link that looks like this:
https://pearblossomfarms.com/products/jalapeno-sauces
But when I click on the same category from the list of categories in the home page (in other words, not by using a menu link but by clicking on the title of the category in a category list module, this is what I get:
https://pearblossomfarms.com/categories/category/soft-jelled-jellies
I happen to dislike both these links. My ideal link would say:
https://pearblossomfarms.com/soft-jelled-jellies
But I seem unable to make hikashop create such a simple link. At the very least, I would like those two links to be the same, but the only way I can accomplish that is by using the Canonical Link feature. That has been touch and go. The canonical links all worked fine until a couple of days ago, until they all broke and all my categories (and products it turns out) gave me 404 pages. I cannot recall doing any change that could have obliterated the canonical links.
Is there a way to create links, no matter if from the category list or if from the Main Menu simply have a structure like this:
domain.com/category-name (for the categories)
domain.com/category-name/product-name (for the products)
???
By the way, one of the links to a single product I am getting after arriving to the category page looks like this:
https://pearblossomfarms.com/products/jalapeno-sauces/product/dads-red-jalapeno-sauce-bottle
Which reduced to the pattern above would look like this:
domain.com/products/category-name/product/product-name
Why do I need the extra /products/ and /product/ before the actual names of (respectively) the category name and the product name in the link? As long as they are unique, why is Hikashop adding these terms in the link and how do I make it stop and simply build links as the example above?
Also, why would a hikashop link to a product or category be different than the same link but generated not from the menu, but from the category list? I don't want to place a canonical link in every product or have to create a menu link for every product. I want hikashop to create a simple, elegant link whether that link is in the menu or in the product list.
Thank you. Sorry if I seem frazzled. It's because I am, and I realize I could be doing something wrong that is causing this. Please set me straight.