How could I set canonical from category id?
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
Less
More
10 years 3 months ago #243414
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
How could I set canonical from category id? was created by progreccor
-- HikaShop version -- : 2.6.3
I have tried this mass action:
but get this url:
category_id don't changed to it's value.
How could do this trtick?
I have tried this mass action:
Code:
{category_id}/{product_id}-{product_alias}
but get this url:
Code:
http://flyshoes.ru/{category_id}/235-new-balance-574-blue-i-krossovki-zhenskie-golubye-i
category_id don't changed to it's value.
How could do this trtick?
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
10 years 3 months ago #243583
by Xavier
Replied by Xavier on topic How could I set canonical from category id?
Hi,
This is not possible that way, but could be an interesting feature.
For now, you have to add a filter on the desired category and replace "{category_id}" in the action by the category name directly.
This is not possible that way, but could be an interesting feature.
For now, you have to add a filter on the desired category and replace "{category_id}" in the action by the category name directly.
Please Log in or Create an account to join the conversation.
- progreccor
-
Topic Author
- Offline
- SEO, webdesign
10 years 3 months ago #243660
by progreccor
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Replied by progreccor on topic How could I set canonical from category id?
my general goal is to set all canonical url for all goods in shop.
Many problems appears if I simply set "Use canonical URL and generate it if missing" - some addreses get wrong value. So I need to manually crawl the site with particular order. That is not good.
And I think that set canoncial address is good option in mass actions.
All work fine but I can't get category canonical address to include it in canonical address for product (like this: {category_canonical}/{product_id}-{product_alias})
So there is no solution for this? It is really terrible now to mannualy set all canonical addreses....
Many problems appears if I simply set "Use canonical URL and generate it if missing" - some addreses get wrong value. So I need to manually crawl the site with particular order. That is not good.
And I think that set canoncial address is good option in mass actions.
All work fine but I can't get category canonical address to include it in canonical address for product (like this: {category_canonical}/{product_id}-{product_alias})
So there is no solution for this? It is really terrible now to mannualy set all canonical addreses....
Я не явлюсь официальной службой поддержки!
Я здесь добровольно!
Хочешь получить купон на скидку Hikashop? Спроси меня как!
Please Log in or Create an account to join the conversation.
10 years 3 months ago #243700
by Xavier
Replied by Xavier on topic How could I set canonical from category id?
Hi,
No solution for this for the moment, I have added this on our todo list.
My solution allow to not edit all the products one by one but to set the canonical url to the products categories per categories which is quicker. Simply use the mass actions, and filter to a category, then for the path use "MY_CATEGORY/{product_id}-{product_alias}"
No solution for this for the moment, I have added this on our todo list.
My solution allow to not edit all the products one by one but to set the canonical url to the products categories per categories which is quicker. Simply use the mass actions, and filter to a category, then for the path use "MY_CATEGORY/{product_id}-{product_alias}"
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds