1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with an index.php file.

Discussion in 'PHP' started by christian231, Nov 26, 2008.

  1. #1
    I have an index.php file (Wordpress) in my root directory, however when I type my url in a browser it does not come up.

    If I create an index.html file and put it in the root directory, it comes up fine. Where should I look fix this so the index.php is recognized?

    It's just an add-on domain in my cpanel of my main HostGator account. I'm running the latest version of Wordpress and I have other many other add-on domains which are also running wordpress and they all come up fine.

    Any ideas..I don't even know if what i wrote here makes sense, so if you need more information from me, just yell. Thanks.
     
    christian231, Nov 26, 2008 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Normally this shouldnt happen in hostgator

    but put this in .htaccess file

    DirectoryIndex index.shtml index.php index.php3 index.html index.htm
     
    Bohra, Nov 26, 2008 IP
    Gunda likes this.