You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The 404.html is currently WIP.
Only index.md is successfully being deployed. Trying the 404.html will direct to default Netlify 404 instead of the designated one.
Hi, To overwrite the default 404 error page provided by netlify, create a netlify.toml file in the root directory and add below lines of code. refer here
[[redirects]]
from = "/*"
to = "/something.html"
status = 404
Describe the bug
The 404.html is currently WIP.
Only index.md is successfully being deployed. Trying the 404.html will direct to default Netlify 404 instead of the designated one.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It is expected that the designated 404.html is shown when wrongly type the website address.
Screenshots
This is Netlify default 404.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
This issue is intended to be beginner friendly.
Please find the possible solution in this link for implementation.
The text was updated successfully, but these errors were encountered: