I am looking to create a one-page website that utilizes history.pushstate to modify the URL. My plan involves having only one HTML file for the site, which would be the 404 error page. This setup would redirect users to that page regardless of the URL they enter.
My main concern is whether there are any negative consequences to using 404 pages in this manner. Will it affect how Google views the website? Are there any potential browser compatibility issues?