• Resolved garbonzo

    (@garbonzo)


    Hi,

    I’ve got html pages on my site right now, and I want to practice with wp and set everything up to my liking before making the transition over.

    In root, there’s index.html
    If I install wp there, then there’ll be an index.php

    So when someone types in my domain, which page will show up?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    you can decide the winner with your .htaccess file:

    DirectoryIndex index.htm index.html index.php

    Here index.htm comes up first, if not there then index.html, and after that index.php.

    WPChina

    (@wordpresschina)

    …and this can be set on the server in some VPS environments.

    Thread Starter garbonzo

    (@garbonzo)

    Okay, Thanks Everybody:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘If index.html and index.php in root… which one “wins”?’ is closed to new replies.