• Resolved mjasra

    (@mjasra)


    Everything during the installation went great (version 2.1) however the index.php didn’t get created. Can I borrow someone’s index.php file? Or is there another way to resolve this issue?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    It doesn’t get “created”. It’s in the ZIP file. Or the .gz file if you used that one.

    Are you talking about index.php in the root of WP or in your theme?

    Either way I am assuming you are using FTP?

    If it is the index.php file from the root of your WP as in http://www.mysite.com/wordpress/ then simply transfer index.php from your original 2.1 download or create it by opening a text editor and copy and paste this to it
    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Then name the file index.php and load that to the root of your WP install.

    If it is the index file from your THEME, on the server side be sure to navigate to /wp-content/themes/your-theme-name/ and upload the corresponding index.php file from the theme’s directory on your computer.

    Please keep in mind that these instructions take into consideration that you didn’t have a modified index.php file to begin with.

    Hope this helps!

    Vince

    Thread Starter mjasra

    (@mjasra)

    Thanks, Just got a copy with a fresh download.

    I kind of have the same problem. I deleted the index file on the server and didnt make a copy.

    You’re saying I can just load the original root index from the install download and the theme from the theme download and put it back on the server?

    Does the theme go in the acutal named theme folder (ie. citynight) or just in the theme directory by itself?

    did that make sence?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Index.php file’ is closed to new replies.