redirect bug – redirects to two different urls
-
I recently installed RankMath on my woocommerce site. I selected “Remove base”,
“Remove category base”, and “Remove parent slugs”. Now each of my product pages has two different distinct URLs.For example the following product page is can be accessed at
https://www.hypnoticdreams.com/self-help/you-can-enjoy-eating-healthy/
and
https://www.hypnoticdreams.com/you-can-enjoy-eating-healthy/
The first URL is the one I want, and is listed as canonical. But the second was briefly listed in the sitemap while I was experimenting with the permalink settings, and now bingbot is crawling it.
How do I eliminate the unwanted URL without defining individual redirects for every product page?
- The topic ‘redirect bug – redirects to two different urls’ is closed to new replies.