WordPress.org

Ready to get started?Download WordPress

Forums

Normal to have THREE index.php files as part of WordPress theme?? (3 posts)

  1. spabizgal
    Member
    Posted 7 years ago #

    I am showing THREE index files uploaded to my server for the THEME Tulip Time_5

    Again ALL index.php but landing in different areas.

    I thought there could only be ONE? Won't these cause confusion for the server and WP?

    Below are the paths for each
    ____________________________________

    /wp-admin/

    File size 6,032
    _____________________

    / this is the root directory

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    File size 95
    ____________________

    In wp/admin/

    <?php
    // Silence is golden.
    ?>

    File size 32
    ____________________

    If these are in the wrong place or a couple of those mentioned should NOT be there at all, could this have to do with my constant cannot connect to server issues I am having with WP or my host????

    Because otherwise I am still grasping here for straws.

    This is a brand new install, only been up a week.

  2. moshu
    Member
    Posted 7 years ago #

    I thought there could only be ONE?

    Almost correct ;)
    One for every directory/folder.
    And except the index file in your tulip-whatever theme folder the others are part of the core WP files and you shouldn't mess around with any of them.
    You are able to make enough mess by altering your theme files... so you should keep yourself away from the core WP files!

  3. spabizgal
    Member
    Posted 7 years ago #

    LOL...Moshu you've got that right....its getting there slowly but surely.

Topic Closed

This topic has been closed to new replies.

About this Topic