404 Not Found: why pages are missing and how to fix it
Fix 404 errors after uploading or moving a site: files in the wrong folder, case-sensitive names, broken permalinks and changed URLs that need redirects.
On this page
Does this match what you’re seeing?
- The page says 404 Not Found
- The home page works but inner pages 404
- Links worked on your old host or your computer but not on Traxio
The whole site 404s
Files are probably in the wrong place. Check they’re in domains/yourdomain.co.uk/public_html, not in a subfolder or a different domain’s folder. Where to upload your website: public_html explained
Home page works, inner pages 404 (WordPress and apps)
Pretty URLs depend on .htaccess rewrite rules.
- WordPress: go to Settings → Permalinks and select Save Changes, which rewrites
.htaccess. - Check
.htaccessexists — hidden files are easy to miss when uploading. How to show hidden files like .htaccess - Other frameworks: check the
.htaccessthat ships in theirpublicfolder was uploaded.
Some files 404: capital letters
Linux servers are case-sensitive. Logo.PNG and logo.png are different files. Windows and Mac aren’t, so a site that worked locally can break online. Match the case in links exactly, or rename files to lowercase.
Images or CSS 404
- Paths relative to the wrong folder:
images/logo.pngon a page at/about/looks for/about/images/logo.png. Use/images/logo.png. - The files weren’t uploaded or were extracted into another folder.
Old URLs 404 after a redesign or move
Redirect old addresses to their new equivalents with 301 redirects, so visitors and search engines follow. Redirects with .htaccess: copy-ready examples
Finding 404s
- The domain’s access log shows requests with status
404 - Google Search Console lists pages it found missing
Make the 404 page useful
Creating custom 404 and error pages
Prefer to follow along?
- Install WordPress on Traxio
Beginner · 20 min - Redirect old URLs after a redesign
Intermediate · 30 min - Upload a website you’ve built
Beginner · 15 min
Common questions
What does a 404 Not Found error mean?
The server is working but there is nothing at that address. Either the file isn’t there, the name is spelled differently — including capital letters, which matter on Linux — or a link points somewhere that no longer exists.
This is a general web-hosting explanation, not specific to Traxio.
What is an HTTP status code?
It is the three-digit number a server returns with every response, saying what happened. 200 means fine, 3xx is a redirect, 4xx means the request was wrong (404, 403), and 5xx means the server itself failed (500, 502, 503).
This is a general web-hosting explanation, not specific to Traxio.
The first digit is the useful part when something breaks: a 4xx points you at the request — a bad URL, a permission, a missing file — while a 5xx points you at the server or the code running on it.
Spotted something out of date or unclear? Tell us and we’ll fix it.