All pages blank except home page
-
Hi all
Any help on this would be much appreciated.
My website recently became corrupted: the home page is there but all other pages, including the login page, are blank. Obviously, I have no access to the admin area. This happened spontaneously – ie I hadn’t upgraded / installed / posted anything for a few weeks beforehand.
I noticed in the backend that several new and random php files had appeared in the root directory – looks like I’ve been hacked. So I deleted all files and reinstalled the backup I had of the home directory. No joy.
I’ve also tried:
– Checking the mod_rewrite settings in the htaccess file
– Reimporting the database from a backup
– Changing the PHP memory limit from 32 to 64
– Checking for extra blank lines in wp-config
– Disabling all plugins via phpMyAdmin
– Checking file permissions (all folders 755 and all files 644 – is this correct?)I still have the same problem: the home page works, nothing else does.
My htaccess file looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Any help would be hugely appreciated – I’ve run out of ideas.
Thanks!
- The topic ‘All pages blank except home page’ is closed to new replies.