@riston996 It’s hard to know what is real information in your post, and what might be entirely wrong/fake, since the post appears to have been written by ChatGPT.
So I’m hesitant to spend much time even reading it.
E.g. At a glance I can see you say __redirects several times, but that’s wrong, it would be _redirects
You shouldn’t need redirect/rewrite for a file that exists, e.g. (/sitemap.xml to /sitemap.xml), that’s what Shadowing already accounts for. I would only expect to see the contents of the index.html for paths that didn’t exist as their own files.
Use can use the Deploy File Browser to see what you’ve actually deployed.
You should remove unnecessary rewrites/redirects in your _redirects and netlify.toml to avoid confusion.