tags:

views:

15

answers:

2

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

A: 

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

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

Dan Grossman
hi - this doesnt seem to work?
InnateDev
This was tested and does work on both Apache 1.x and 2.x servers.
Dan Grossman
A: 

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

InnateDev