The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Default file name (3 posts)

  1. TSemmes
    Posted 7 years ago #

    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?


  2. Gixxer
    Posted 7 years ago #

    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).

    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.

  3. TSemmes
    Posted 7 years ago #

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

    DirectoryIndex default.shtml index.php

    works like a charm.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.