Skip to content

Refreshing Issue

this solution fixed the problem:
  1. Create a netlify.toml in the project's root directory.
  2. Add the following code in the netlify.toml file:
[[redirects]]
    from = "/*"
    to = "/"
    status = 200
  1. Run the netlify deploy command in your terminal.

Redirects and rewrites

You can configure redirect and rewrite rules for your Netlify site in two ways:

Netlify processes and serializes your redirect rules across the _redirects and netlify.toml files. If the size of this output is too large, the deploy might fail.

If you need to set up 10,000 redirects or more, we recommend using wildcards or placeholders as much as possible. For a more complex redirect setup, Edge Functions can be a better option.


Reference