My website https://barmajet.com/ is working well when I press on the “goto test page” button it navigates to the site with the page right. but when I go to the URL direct https://barmajet.com/test it navigates me to infinityfree .net/errors/404/
NB: the website is built through Flutter Web and exported as HTML
I didn’t disable any option on the host, but you can tell me where is exactly so I can double-check
Now, I have the line of Options +MultiViews only in htdocs\.htaccess, but still the same
I assume there’s a javascript code which only changes the url on navbar but not redirect to that url itself. I don’t know if the code inside index.html can read the data after / on url.
but still, I answered you with my coding knowledge which may not be true, Maybe consider to ask your question there?
That gives internal server error 500 redirecting to https://infinityfree.net/errors/500/, yea sure I will make an issue there thank you, just making sure it is not related to host.
The .htaccess suggestion from @anon19508339 is correct (you need to configure the server to have it redirect all unknown URLs to the index.html file so the Flutter router can handle them), but I don’t think the provided snippet was correct.