Help with htaccess

Discussion in 'Apache' started by MixedBag, Apr 11, 2009.

  1. #1
    I have my htaccess set up to redirect sitea/forums (which in turn redirects sitea/forums/page1 also) to siteb/forums (or siteb/forums/page1).

    Is it possible to only have forums/something redirect to siteb but sitea/forums doesn't.

    I have a wordpress page named forums on sitea which I want to not redirect as it has a PR2.....where as siteb isn't getting any PR so I'm thinking the htaccess is incorrect anyway, cuz its been like that for the past 3 PR updates :(. So I want to make use of the PR I have got.

    My current htaccess is
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.girlgamers\.co.uk [nc]
    RewriteRule (.*) http://girlgamers.co.uk/$1 [R=301,L]
    redirect permanent /forums http://www.gamerstyle.com/forums
    
    Code (markup):
     
    MixedBag, Apr 11, 2009 IP