Redirect in htaccess affect on Google?

Discussion in 'Apache' started by Fix Johnson, Jun 10, 2006.

  1. #1
    HI, I am a NEWBIE so I would appreciate some guidance with this. I have this redirect on my site and I need to know whether it is alright or should be changed?

    DirectoryIndex default.php index.php

    default.php is the main page, if I change it to index.php it shows all code.

    Any help would be appreciated.

    thanks

    Fix
     
    Fix Johnson, Jun 10, 2006 IP
  2. sketch

    sketch Well-Known Member

    Messages:
    898
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    148
    #2
    You might want to ask your host to look into this, it sounds like their machine isn't set up to use PHP files for indexes (hosts need to define which files can be used as indexes).

    But I'm pretty sure that's fine. I'd get a 2nd opinion just to be safe ;)
     
    sketch, Jun 11, 2006 IP