What this usually means
- The permalink rules need refreshing, often after a plugin, migration or restore
- .htaccess is missing, empty or can’t be written to
- The server isn’t passing requests to WordPress (a setting on Nginx or Apache)
- A custom post type plugin was added or removed
Steps to fix it
Take a backup first
Files and database.
Save permalinks again
Settings > Permalinks > Save Changes.
Check .htaccess
It should contain the standard WordPress rules and be writable. If it’s missing, create it with those rules.
Ask your host about rewrites
On Nginx, or if mod_rewrite is off, the server needs a rule. Your host can add it.
When to get help
If saving permalinks doesn’t help, or you’ve just moved the site, send us the details. It’s usually a server rule, and quick for a developer.