I have a problem redirect product pages.
There are two same pages with different URLs.
- Product page (https://domain-name/products/dry-food) and
- Product subcategory page (https://domain-name/cat/cat-food-treats/food/dry-food).
I want to redirect the product page URL to the product-subcategory page URL. So, I tried in Redirect Function and check it. But it is not affected in the frontend, it is not redirected to the category page.
Can we redirect the product URL to another URL in a standard? Is there anything that I missing?
Nay Chi Phyo