.htaccess – wordpress folder / slug redirect – Education Career Blog

how do I redirect a category or page /my-page/ to a new page /my-new-page/ using htaccess?

,

Add this above the existing rules (but after RewriteEngine On):

RewriteRule ^/?my\-page /my-new-page R=301,L

,

This works: Redirect 301 /my-page/ http://mydomain.com/my-new-page/

Leave a Comment