WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blank Page (3 posts)

  1. awolff01
    Member
    Posted 1 year ago #

    Hi. This morning I went to my url and just got a blank page. I can get to other pages on my website but the home page does not come up.

    I remember yesterday I accidentally took the index.php file and accidentally moved it into another directory (not sure which one). When I noticed it was missing I grabbed a index.php from one other directory and put it back. I am thining that has something to do with the issue.

    I turned on debugging in wp-config.php and reloaded the web page but no errors are generated.

    What should the /mysite.com/index.php contain? My index.php file contains the following code:

    <?php
    // Silence is golden.
    ?>
  2. izzysanime
    Member
    Posted 1 year ago #

    The index.php file has more code in it than that.....
    I would re-download wordpress and extract the index.php file and try that.

    But I'm concerned that the original index.php file you moved overwrote another index.php file perhaps?

  3. awolff01
    Member
    Posted 1 year ago #

    Thank you for your help. I took the index.php file from the 3.4.2 zip placed it in the /root directory of my site and it fixed the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.