- Posts: 16
- Thank you received: 1
change all _ to - in url
7 years 1 month ago #309907
by emperor69
change all _ to - in url was created by emperor69
hi
how can i change all "_" to "-" symbol in all of canonical urls?
is there any way through mass actions?
how can i change all "_" to "-" symbol in all of canonical urls?
is there any way through mass actions?
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309940
by nicolas
Replied by nicolas on topic change all _ to - in url
Hi,
Yes, with the action "update the values" on the column "product_canonical" with the type "operation" and the value: REPLACE(product.product_canonical, '_','-')
Yes, with the action "update the values" on the column "product_canonical" with the type "operation" and the value: REPLACE(product.product_canonical, '_','-')
The following user(s) said Thank You: emperor69
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309960
by emperor69
Replied by emperor69 on topic change all _ to - in url
thanks, is there a way doing this action for "category" urls?
Please Log in or Create an account to join the conversation.
7 years 1 month ago #309977
by nicolas
Replied by nicolas on topic change all _ to - in url
Hi,
Sure. Just use the "category" data in your mass action, and select the "category_canonical" column in the "update the values" action and use instead the value:
REPLACE(category.category_canonical, '_','-')
Sure. Just use the "category" data in your mass action, and select the "category_canonical" column in the "update the values" action and use instead the value:
REPLACE(category.category_canonical, '_','-')
The following user(s) said Thank You: emperor69
Please Log in or Create an account to join the conversation.
Time to create page: 0.176 seconds