Little help with .htaccess file / 301 redirect

Discussion in 'Content Management' started by theivo, Feb 1, 2009.

  1. #1
    Hi,
    I need an suggestion of how to do 3001 redirect.
    At the moment I'm migrating one of my sites to another platform (Wordpress)
    and my wish is to keep most of my URLs same as in previous platform.
    There's some categories that will not be with the same names, and i want to do a 301 redirect to the new cat name.
    For example

    from:
    www.mydomain.com/[B]old_category[/B]/adress.htm
    Code (markup):
    to
    www.mydomain.com/[B]new_category[/B]/adress.htm
    Code (markup):
    How to do this generally in .htaccess without need to write every single redirect.
    All /old_category/ pages to be redirected to /new_category/

    Also will be great if there's any easy to use 301 Wordpress plugin for this
     
    theivo, Feb 1, 2009 IP