Solution of Page Not Found error on Netlify.
Dec 14, 2023

After deploying a web application on Netlify. Many of the application faces page not found error. The solution to this error has come.
To solve this issue:
- Create a file in root directory named: netlify.toml

In this file, write the code:
[[redirects]]
from = "/*"
to = "/"
status = 200

2. Push the code in github and deploy on Netlify.
Wait for the magic.