Page not found Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site

custom domain: magnicarz.com

Error message: “Page not found

Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”

I can access the homepage and Magnicarz | A home for luxury Autos but trying to access other sub-pages like Magnicarz | A home for luxury Autos or domain.com/charter it returns the above 404 error
I have ensured I have index.html files and resaved the project into a new repository on GitHub as mentioned in one of the support articles, still not working. I really need some help here to get all sub-pages functioning.

Hi! This usually happens with React/Vue single-page apps on Netlify

When you open /about directly, Netlify looks for a real file at that path and shows 404. You just need a redirect so all routes load your main page.

Fix: add a file called _redirects (in your public folder) with:

/*  /index.html  200

Then redeploy.

Also make sure your Publish directory is correct (dist for Vite, build for CRA). This should get all sub-pages working

Hope this helps!