Link to home
Start Free TrialLog in
Avatar of pcontreras

asked on

301 Redirects not working for wordpress

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

    # 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]


    # END WordPress

I am looking to redirect the link to All page numbers should be redirected as well.
Avatar of Nancy Rindone
Nancy Rindone
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial