HTACCESS redirect - File is in Subdirectory but I am using a Addon domain

Discussion in 'Apache' started by askthecarcom, Jul 15, 2006.

  1. #1
    Hi guys

    I recently added a new domain to my exisiting server and that domain is linked to another subdirectory.

    Tried to do a redirect but have been upable to get it to redirect when someone goes into http://www.askthecars.com/ to http://www.askthecars.com/cars.htm

    Redirect permanent http://www.askthecars.com/index.htm http://www.askthecars.com/cars.htm


    Help
     
    askthecarcom, Jul 15, 2006 IP
  2. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Am confused could you please make your query little bit clear:(
     
    sreyas, Jul 21, 2006 IP
  3. sunday

    sunday Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    RedirectMatch permanent ^/index.htm$ http:// www. askthecars.com/cars.htm
     
    sunday, Jul 23, 2006 IP