Error 404 (Not Found)
How to fix 404 on individual pages or the whole site: paths, permalinks and .htaccess.
404 means the server cannot find the requested page or file. First determine whether the problem is on one address or on the whole site.
Symptoms#
"404 Not Found" or "Page not found". The home page works and subpages do not, or nothing works.
Causes#
- the file does not exist or is in the wrong folder (e.g. outside
public_html), - a misspelled name: the server is case sensitive (
Image.JPGis notimage.jpg), .htaccessis missing or damaged (for WordPress and similar applications),- the domain points to the wrong folder or server,
- the page was moved or its URL was changed.
Fix#
- In File Manager check that the file exists at the expected path with the exact name.
- If only the home page works and subpages return 404: in WordPress open Settings → Permalinks and click Save Changes to rebuild the rules.
- Check that
.htaccessexists in the root (a hidden file: in File Manager enable Show Hidden Files). See .htaccess basics. - Check that the main file
index.html/index.phpis in the domain's folder. - If you changed an address, set up a 301 redirect from the old URL to the new one.
Ticket#
Open a ticket if you see 404 on the whole domain despite correct files. State the domain, an example address with the error and what you changed.
¿Te ha resultado útil este artículo?
¡Gracias por tu opinión! ¿Necesitas ayuda? Abre un ticket.
Artículos relacionados
File ManagerThe basics of managing files in your browser: upload, edit, delete and search..htaccess basicsWhat .htaccess is, how to edit it safely and examples of common rules.WordPress domain changeHow to change the address of a WordPress site to a new domain or from http to https without losing content.Browser SSL error"Your connection is not private" and similar messages: causes, certificate check and fixes.
