Support » Fixing WordPress » 301 redirect

  • I am moving one of my sites and changing the permalink structure at the same time using the Angsuman plugin. It works perfectly and google etc has followed the 301 to the new site and structure.

    I am now looking for a 301 redirect rule for my htaccess file which will redirect /category/ as is described below as the plugin is not designed for this part. which is my old site to this which is my new site.

    Can somebody help me with the correct rule structure.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    RewriteRule ^/blog/index.php/category/(.*)$ http::// [R,L]

    Argh. Remove the extra colon from http:: above. I added it to prevent this forum from hosing up the rule.


    Many thanks for this. I have not yet been able to get it to work and have been trying to put it at different places in the htaccess file. I am continuing to try.

    1. Should this come before or after the standard htaccess data which is generated by WP?
    2. Is there anything else which may be obvious to get this to work (clearing caches etc).

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    1. After RewriteEngine on but before the RewriteCond bits.

    2. Not that I can think of, no.

    Dang – still will not work – perhaps current host does not allow these rewrite rules?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘301 redirect’ is closed to new replies.