• Just installed WordPress and the installation was succesful.

    However it seems WordPress assumes that the default file name is index.php. Our system is set up so that files with the name “default.shtml” are the default file.

    This blog is at http://www.semmesco.com/blog. But that address won’t get you to the blog page. I tried typing in “www.semmesco.com/blog/index.php” but that still didn’t work. So I opened “index.php” saved it as “default.php” and uploaded it. So if you type in http://www.semmesco.com/blog/default.php that does work.

    But it seems that changing file names arbitrarily could be a problem. Is there something I should do to address this index/default file naming conflict?

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • What kind of web server are you hosting your WP installation on? Linux, Windows, Apache, etc. Which ever is the case you will need to access your web server and add index.php. The .shtml file extension simply means that in your HTML code you are using server-side include statments (SSI).

    Example:
    On a Windows Server you’d access IIS, right click on the website you are dealing with, left click on Properties and the go to the Documents tab and add index.php to the list. Stop and Start your IIS and you should be good to go.

    Thread Starter TSemmes

    (@tsemmes)

    OK. easy enough, I edited .htaccess file to read

    DirectoryIndex default.shtml index.php

    works like a charm.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Default file name’ is closed to new replies.