Support » Fixing WordPress » New install on a readynas can’t pull index.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • you have the wrong index.php file in your /wordpress/ directory. The one you have is the one that (from the looks of it – I downloaded it since you have a directory listing showing) should be in your theme folder (wp-content/themes/whateveryourthemeis/

    In the wordpress folder your index.php file should only contain this:

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

    The easiest way to fix this is to first copy the one that is there to your theme folder (so you don’t lose it in case you don’t have a backup) and then copy the index.php file from the unzipped WP folder which you should still have on your computer to your /wordpress/ folder

    TrishaM, Thank you for taking a look, but still the same.

    I see what your saying, when a downloaded the index.php file from the wordpress dir like you did, it is in fact a big file of php/html code.

    But, look at the size…94 bytes. Just to make sure I extracted the index.php (Like the snipet above) from the original wordpress zip and overwrote the original in the wordpress dir. So to make a long story short the index.php is the snipet of code above. 🙁

    Z

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New install on a readynas can’t pull index.php’ is closed to new replies.