HTTP error reference
404 Not Found
A 404 Not Found means the server has nothing at the address you asked for. The site is working; that one page is not there, or the server is choosing not to say it exists.
If you are visiting the site
Check the address for typos, try the site’s search or home page, or look for the page in a search engine. If a link on the site itself led you here, the owner will want to know.
Common causes
The page moved or was deleted
The URL changed during a redesign or migration and nobody added a redirect from the old address.
Broken rewrite rules
Frameworks and WordPress send every request through index.php. If the rewrite rules are missing, the home page works but every other page returns 404.
Wrong document root
After a deployment, the server points at the wrong folder, so files exist on disk but not where the server looks.
Case and slashes
Linux servers treat /About and /about as different addresses, and a missing or extra trailing slash can matter too.
How to fix it
WordPress
- If every page except the home page returns 404, go to Settings → Permalinks and press Save. That rewrites the rules without changing anything else.
Nginx
- For WordPress and most PHP frameworks, the location block needs try_files $uri $uri/ /index.php?$args; so unknown paths reach the application.
Apache
- Make sure mod_rewrite is enabled and that AllowOverride lets the site’s .htaccess file apply.
Moved pages
- When a page has a new address, add a permanent (301) redirect from the old one. If it is gone for good, a 404 or 410 is the honest answer.
- Send real 404 status codes. A “not found” page that returns 200 is a soft 404, which confuses search engines.
Quick checklist
Confirm the exact hostname, path and route.
Check rewrites and redirects after a deployment.
Distinguish missing content from an intentional access restriction.
Questions about 404 errors
Do 404 errors hurt SEO?
Not on their own. Google expects missing pages. The cost is losing visitors and links that pointed to a page that used to exist, so redirect pages that moved.
What is the difference between 404 and 410?
A 410 says the page is gone on purpose and will not come back. Search engines may drop it a little faster; otherwise they behave much the same.
Why does my home page work but other pages give 404?
Almost always missing rewrite rules. On WordPress, re-saving the permalink settings usually fixes it.