Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've got the famous white screen, but only on my home page. Deeper pages load just fine. I moved my themes directory to themes-old and made a new themes directory that only has twentyten in it. I changed my theme to twenty ten. I don't have any plugins enabled, but I moved my plugins directory and created a new, empty plugins directory.

I turned debugging on.

I'm at a total loss here. I did make some theme tweaks today, but I already restored the back up of my theme which didn't help, and anyway I've now set twentyten as my theme.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

To make sure that the index.php will be loaded first add the following line to your .htaccess:

DirectoryIndex index.php index.html

This tells Apache to ignore an index.html if an index.php exists.

share|improve this answer
    
Removing the errant index.html works better, but this is a good alternate solution. –  Amanda Mar 26 '12 at 18:21
    
I have had the white screen of death on several different sites now, and each time I seem to need a different fix. This one worked for me this time ;) Thanks. –  Daniel Dec 4 '13 at 1:16

Because I somehow dropped a file called "index.html" in my WordPress install.

How'd I find out? I created a completely fresh installation and used diff to compare them.

share|improve this answer
    
Always add define( 'WP_DEBUG', true ); to your wp-config.php during dev. –  kaiser Mar 20 '12 at 4:04
    
That doesn't help if index.html is overriding index.php –  Amanda Mar 26 '12 at 18:21
    
Shure it helps: You know that not a function is killing your output. –  kaiser Mar 26 '12 at 20:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.