Click here to Skip to main content
15,117,095 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need 301 redirects to parent categories via .htaccess file or via plugin in WP:


/parent-category-1/item-1/ -> /parent-category-1/
/parent-category-2/item-1/ -> /parent-category-2/
/parent-category-3/item-1/ -> /parent-category-3/
...
/parent-category-10/item-1/ -> /parent-category-10/


Only the parent category changes.

The name link "item-1" always remains the same, but each "item-1" page has its own parent category.

What I have tried:

standard methods don't work
Posted
Updated 16-Jun-21 22:32pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900