- Maybe the
.htaccessfile is not set properly? Ensure WordPress can modify it (
chmod 777 .htaccessfor a moment; don’t forget to
chmodback once we’re done with this step), then go to Settings ⇒ Permalinks and modify your Permalink preference and “Save Changes”. This will ensure
.htaccesshas the proper contents.
- If you still have a problem, maybe the
mod_rewriteis not enabled?! (have you upgraded your server recently?) So just enable it! (how? depending on your Apache version. Maybe:
sudo a2enmod rewriteand then
service apache2 restart)
- If you already had
mod_rewriteenabled, then maybe there is some conflicting plugin? :/ try to disable your plugins and enable them one after the other to see whether that’s the case.
- Still not fixed? Let’s look again at the
.htaccess. Maybe your Apache configuration does not
? Hope this helps!
- None of this worked? Sucks for you.
If only the “plain” permalinks work: