URLs different from Root (homepage) and menu categories

  • Posts: 246
  • Thank you received: 9
  • Hikashop Business Hikashop Essential
8 years 1 month ago #268065

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6
-- PHP version -- : 5.30
-- Browser(s) name and version -- : ALL

Hi,

I can't figure it out. My homepage is a display (pictures) of all categories of the webshop.
So you see 12 or so images.

If I click a image I go to: website/categorie/categoryname

But in the menu I have a menu for all categories. So if I click on categoryname in the menu I go to : website/categoryname

I need both links to go to the same url: website/categoryname

I fiddled with settings but can't figure it out. Where am I going wrong?


[EDIT]
I guess I figured it out. Always when posting a problem solutions seems to pop up. Changing the canonical URL of the individueal categories solved it.


I'll keep on trying!
Last edit: 8 years 1 month ago by gasoline. Reason: Solved

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

  • Posts: 26253
  • Thank you received: 4040
  • MODERATOR
8 years 1 month ago #268078

Hello,

That's right ; you have to use the canonical URL if you want to "force" the usage of a specific URL.

Explaining a problem is always a good method to think and find a proper solution.
In development there is the "rubber duck debugging" which is using that same principle
en.wikipedia.org/wiki/Rubber_duck_debugging

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: gasoline

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

Time to create page: 0.057 seconds
Powered by Kunena Forum