Permalinks contain unwanted space resulting in broken links


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- -randomproduct

On the frontend, the link appears as this:

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.

Ali22 2 months 0 Answers 19 views 0

Leave an answer