I want a 301 redirect to all urls if they contains any special characters like ‘.’, ‘,’,’-‘, etc. If you look at it here:
http://www.areamart.com/shop/bellabeat-leaf-urban-health-trackersmart-jewelry/
and here http://www.areamart.com/shop/bellabeat-leaf-urban-health-trackersmart-jewelry—/ both works. I want a 301 redirect to original slug only to avoid duplication. As of now, it still shows a page if I add symbols, commas etc on the url directly. Any suggestion would be highly appreciated

Read more here: How to make a WordPress to 301 redirect to avoid duplicate urls


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: