Web Analytics Made Easy -
StatCounter INDEX.PHP and INDEX.HTM - CodingForum

Announcement

Collapse
No announcement yet.

INDEX.PHP and INDEX.HTM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • INDEX.PHP and INDEX.HTM

    I'm trying to make my site which has the phpBB forum in the root directory to open index.htm before index.php. It worked in my other site but this one won't take me to index.htm but to index.php when I open it.

    Here is the link.

    http://members.lycos.co.uk/acguildwow
    LogoJive.com - Professional Grade Web Development!
    My Domain Listing: dnListing.com/listing/Unknown

  • #2
    It's usually in this order, index.html index.php index.htm, so rename the extension on index.htm to html and see if that works

    Comment


    • #3
      Re: INDEX.PHP and INDEX.HTM

      Originally posted by Unknown
      I'm trying to make my site which has the phpBB forum in the root directory to open index.htm before index.php. It worked in my other site but this one won't take me to index.htm but to index.php when I open it.

      Here is the link.

      http://members.lycos.co.uk/acguildwow
      If you installed the forum into your root directory it more than likely added an .htaccess file which would have a command in it to override what the default page is for that directory. Look for a file called .htaccess and look for a line like this:

      DirectoryIndex index.php index.html

      Either remove the index.php to stop it from being the default page or change the order and put it last.
      Spookster
      CodingForum Supreme Overlord
      All Hail Spookster

      Comment


      • #4
        Thanks it worked
        LogoJive.com - Professional Grade Web Development!
        My Domain Listing: dnListing.com/listing/Unknown

        Comment


        • #5
          Originally posted by Unknown
          Thanks it worked
          What worked?
          Spookster
          CodingForum Supreme Overlord
          All Hail Spookster

          Comment


          • #6
            Used the .htaccess method and had index.html first.
            LogoJive.com - Professional Grade Web Development!
            My Domain Listing: dnListing.com/listing/Unknown

            Comment

            Working...
            X