How to change the canonical URL of all products

  • Posts: 3
  • Thank you received: 0
8 years 6 months ago #238357

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 7
-- Browser(s) name and version -- : Divers

How can I change the canonical URL for all my products from www.mydomain.com/ .... to www.mydomain.com/ .. by means of a mass action? So I want to change all the canonical URL's from http to https.

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

  • Posts: 13201
  • Thank you received: 2322
8 years 6 months ago #238384

Hi,

There is no possibility to replace a part of the url from the defautl mass actions.
So you have to set a new canonical url but this can be set dynamically, in the mass actions select the action "Set canonical url" and fill the path with something like:

https://mywebsite.com/menuitem/{product_id}-{product_alias}

Or you can create a php script for the replacement if you have PHP knowledges.

The following user(s) said Thank You: Jkorte

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

Time to create page: 0.046 seconds
Powered by Kunena Forum