redirect from subfolder to another domain

Discussion in 'Apache' started by nye, Apr 5, 2007.

  1. #1
    Hello,

    I'm new to .htacces, and I'm trying to redirect from http://aaaa.com/subfolder to http://bbbb.com.

    All the files and subfolder under http://aaaa.com/subfolder must be redirected to bbbb.com domain.

    What can I do??

    Thanks!!!
     
    nye, Apr 5, 2007 IP
  2. abdussamad

    abdussamad Active Member

    Messages:
    543
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #2
    redirect 301 /path/to/subfolder/ htttp://blahblah.com.
     
    abdussamad, Apr 5, 2007 IP