1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] Need help with 301/.htaccess

Discussion in 'White Hat SEO' started by darrensss, Jun 15, 2012.

  1. darrensss

    darrensss Power Member

    Joined:
    Jun 10, 2010
    Messages:
    697
    Likes Received:
    79
    Guys,
    Setting up my .htaccess file with 301's.
    All working fine for most redirects apart from the following ...

    RewriteRule bluewidget /blue-widget/ [R=301,L]
    RewriteRule bluewidget/folder2 /blue-widget/folder2/page2 [R=301,L]
    RewriteRule bluewidget/folder3 /blue-widget/folder3/page3 [R=301,L]

    If i goto ww.mysite.com/bluewidget - redirects to ww.mysite.com/blue-widget (which is correct)

    But ...

    If i goto ww.mysite.com/bluewidget/folder2 - this redirects to ww.mysite.com/blue-widget (should goto ww.mysite.com/blue-widget/folder2/page2)
    or
    ww.mysite.com/bluewidget/folder3 - this redirects to ww.mysite.com/blue-widget (should goto ww.mysite.com/blue-widget/folder3/page3)
    What am i doing wrong???
     
  2. darrensss

    darrensss Power Member

    Joined:
    Jun 10, 2010
    Messages:
    697
    Likes Received:
    79
    bump ... guys ... needs some help - please!
     
  3. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    863
    Occupation:
    Cleaning servers
    Try to ask here ,
    Code:
    http://stackoverflow.com/
     
  4. smalls21

    smalls21 Newbie

    Joined:
    May 7, 2009
    Messages:
    16
    Likes Received:
    1
    2nd vote for stackoverflow they almost always help with these issues and they are super fast.