I have just over 8k products listed on my wordpress site using WooCommerce.
Some product links work fine, vast majority for some reason have an unwanted space and - though ( -) resulting in 404, when i edit the link to remove these 2 characters the link becomes functional again.
The link appears like this inside wordpress editor-
www.mydomain/product/ -randomproduct
On the frontend, the link appears as this:
Www.mydomain/product/%20randomproduct
I'm wondering if theres a way for me to bulk edit all the bad links to remove the 2 problem characters and fix my links.
Thanks for any help received.
I have just over 8k products listed on my wordpress site using WooCommerce.
Some product links work fine, vast majority for some reason have an unwanted space and - though ( -) resulting in 404, when i edit the link to remove these 2 characters the link becomes functional again.
The link appears like this inside wordpress editor-
www.mydomain/product/ -randomproduct
On the frontend, the link appears as this:
Www.mydomain/product/%20randomproduct
I'm wondering if theres a way for me to bulk edit all the bad links to remove the 2 problem characters and fix my links.
Thanks for any help received.
Share Improve this question asked Nov 16, 2020 at 19:08 Ali22Ali22 111 bronze badge 1- Welcome to the portal Ali22 ! :) – jgangso Commented Nov 19, 2020 at 8:15
1 Answer
Reset to default 0You can check how the site_url is stored in the wp_options table - make sure there is not a space after the url.