Canonical link questions

  • Posts: 67
  • Thank you received: 0
8 years 4 months ago #261863

-- HikaShop version -- : 3.0.0

Hello,

Trying for some period to sort this out. We have problem with duplicate content and I've read on forum that solution for it are Canonical links.
Nicolas explained that system choosing which links going to set as canonical, but that's first confusion for us.
1. We have main menu where links are displayed like: www.example.com/parent-menu/product-name , but there are also links we are getting from menu name we set in hikashop module. When we turn on "Use Canonical URL and generate..." on, for most of links we are getting menu name from modules and not from main menu. Maybe we are doing something wrong? As we would like names from main menu.

2. When we move product from one category to another Canonical link does not change (not getting new name of menu). Do we have to change links manually or there is way for it to be changed automaticly?

3. Is there any way to make links short like: www.example.com/product-name and not www.example.com/parent/product-name . We used 3rd part extension to short links from www.example.com/parent/child-of-parent/product-name to example.com/child-of-parent/product-name. Just wondering is that possible?
Thanks in advance

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

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
8 years 4 months ago #261918

Hi,

1. When you turn on the "Use Canonical URL and generate..." setting, HikaShop will use the canonical URL that you set in your products, always.
If you didn't set any, then the first time it has to display a link to the product page, it will generate it, like it would do normally and then store it as canonical URL.
So if you have your module display the link before your menu, it's normal that you get the links you don't want as canonical URLs.
In that case, empty the canonical URL links, disable the module and browse your menu item.
Then enable again the module.

2. There is no automated system for that.

3. Yes. Two ways:
- use a URL alias system of a SEF extension like sh404SEF.
- configure the main menu item of your website (on your homepage) as a HikaShop category or products listing and use the URLs of that menu item as canonical URL. As the main menu item, the alias of the menu item is not used by the Joomla SEF system.

The following user(s) said Thank You: kivici

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

Time to create page: 0.137 seconds
Powered by Kunena Forum