- Posts: 3
- Thank you received: 0
How to change the canonical URL of all products
10 years 5 months ago #238357
by Jkorte
How to change the canonical URL of all products was created by Jkorte
-- 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.
-- 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.
10 years 5 months ago #238384
by Xavier
Replied by Xavier on topic How to change the canonical URL of all products
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:
Or you can create a php script for the replacement if you have PHP knowledges.
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:
Code:
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.194 seconds