Have you tried:
– deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-related problems?
– resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.
– resetting your custom permalinks back to the default setting?
Esmi, I tried as you suggested to no avail.
I only have 2 plugins, no custom permalinks and changing themes did not resolve this issue.
Also, I noticed there is nothing in my .htaccess file except this:
# BEGIN WordPress
# END WordPress
Should there be anything in it?
My install is pretty much straight out of the box.
Your help is appreciated.
It seems that I answered my own question. I checked a backup copy of .htaccess and it contained the following:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I added this file to the server and voila! all is working again.
The question that remains is why/how was this file altered?
Difficult to say. It could be a server-related hiccup and therefore one of those completely innocent but annoying things that happen from time to time. If you’re worried that it might hint at tampering or a hack, this post contains some good advice about what to check.