How can I redirect xxxxx.com TO xxxxxx.com/index.php

Discussion in 'Apache' started by MOG, Feb 27, 2008.

  1. #1
    Hi folks,

    I realise 99% of people want to do this the other way round, but I need to try and redirect anyone that hits my site JUST by keying in the domain name, to be forwarded to domain.com/index.php

    The users are already defaulting to that address, but I need it to show up in the address bar as well.

    can .htaccess do this?

    thanks

    MOG
     
    MOG, Feb 27, 2008 IP
  2. RockyMtnHi

    RockyMtnHi Active Member

    Messages:
    211
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #2
    RockyMtnHi, Feb 27, 2008 IP
  3. MOG

    MOG Well-Known Member

    Messages:
    2,219
    Likes Received:
    163
    Best Answers:
    0
    Trophy Points:
    180
    #3
    great resource thanks!!!

    MOG
     
    MOG, Feb 27, 2008 IP