I have a simple html and css website. I was getting the infamous 404 NOT_FOUND until I found that I needed to create a vercel.json file and add the following:
{ "rewrites": [ {"source": "/(.*)", "destination": "/"} ]}However, now when I click on a page that is not the index.html, it shows me the index.html page but in the url shows the url of the page that I clicked on. In other words it only shows the home page when other pages are clicked on.