301 Redirects not working for wordpress

pcontreras
pcontreras used Ask the Experts™
on
I was wondering if anyone could please help me with why my 301 redirects are not working.

Here is my htaccess file that has the rewriterule in place.

    # BEGIN WPSuperCache
    # END WPSuperCache

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]



    Rewriterule ^category/the-random/art$ /category/random-pics/art-pictures/$1 [L,NC,R=301]
    Rewriterule ^category/the-random/art/(.*)$ /category/random-pics/art-pictures/$1 [L,NC,R=301]

    </IfModule>

    # END WordPress

I am looking to redirect the link example.com/category/the-random/art/ to example.com/category/random-pics/art-pictures/. All page numbers should be redirected as well.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
President @ ResQTek
Commented:
I'm reading the syntax to be like this:

Redirect 301 /old-page.htm http://site.com/new-page/

(not tested)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial