WordPress.org

Ready to get started?Download WordPress

Forums

Blank Pages after Moving Index.php (4 posts)

  1. libelvox
    Member
    Posted 6 years ago #

    I successfully had a wordpress up and running in its own directory ( http://myexamplesite.com/wordpress/index.php ). However, I wanted to move the index.php file to the root so the blog would be the first thing people saw when they came to the root ( or in this example, http://myexamplesite.com ).

    I followed the directions as listed in the codex ( http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory ). The only difference is that my site does not have an .htaccess file. I updated the src attribute in the index.php, moved it up into the root, and tried to browse to the URL. I got it to work once. Now, however all I get is a blank page - looking at the source there isn't a single thing being sent back. I can, however, still go to http://myexmaplesite.com/wordpress/wp-admin and log in successfully.

    Any ideas what I did wrong? Why is my wordpress installation now showing blank pages?

  2. libelvox
    Member
    Posted 6 years ago #

    *gentle bump

    No one has ever seen wordpress return blank pages after changing the blog url under options and moving the index.php?

    I've tested it successfully that php is still running and placing 'Hello Worlds' at various places throughout the code shows the 'require' statements to be correctly finding the correct files. Its just absolutely nothing other than the test code is being sent back to the browser?

    Anyone? Everyone is gone for the weekend?

  3. libelvox
    Member
    Posted 6 years ago #

    did some additional playing with the site after reading some additional stuff. If I switch the template that I was attempting to use for the default one that comes with wordpress things come back.

    At this point I'm guessing there must be some hardcoded values in the template I downloaded that are incorrectly set when the index.php is changed. *sigh. Now I need to go and figure out what they are. :(

  4. TheAndrew
    Member
    Posted 6 years ago #

    I had the very same problem today. I had updated one of my plugins and all of the sudden all of the non-admin areas came up blank.

    Eventually I found out how to fix it. It seems that WP had tried to revert to the default theme for some reason. Several months ago, I had deleted the default theme from the wp-contents folder to same a few bits. When WP reverted to the default, there was nothing for it to revert to.

    So I reloaded the default theme folder from an old backup, everything loaded up! It was then just a matter of reactivating my custom theme and everything works now.

Topic Closed

This topic has been closed to new replies.

About this Topic