سؤال

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.

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى wordpress.stackexchange
scroll top