Support » Fixing WordPress » Static (non-WP) page as Frontpage

  • Hi folks,

    I am running WordPress 2.7 (german version) in the root directory and with permalinks like /%year%/%monthnum%/%day%/%postname%/.

    I would like to run a static index.htm file when someone joins the server – but just for a certain time (the time I am preparing the wordpress blog). But this file shall not be connected to wordpress anyhow. Usually my webserver privileges index.htm/.html files before considering index.php files. But in this case the permalink configuration avoids the server from using the index.htm file.

    My question now: Can I easily move all the content files from / to /wordpress/ or /blog/ and re-move it back to the webserver-root when I have finished developing and configuring the blog? Or will I get problems anyhow?

    Or do you have any other solution that moving into a /blog/-dir?

    Thanks and kind regards!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding this as the first line in your root folder’s .htaccess file

    DirectoryIndex index.htm index.php

    If you put it before WP’s htaccess code it should accomplish what you want

    That exactly was what I was looking for. Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Static (non-WP) page as Frontpage’ is closed to new replies.