For some background, I’ve literally been reading support forums for the entire day…
So, my deployed site (via github).
There’s the main branch, which holds the _redirects file, the index.html file, the README, the license, and 3 folders:
- site
- css
- media
There’s nothing in the Build Directories, as the site opens up the index, and then from there you explore the rest of the site (held in site folder).
I wrote the _redirects file as such:
/home /site/home 200
/site/* /site/404 404
I even tried:
/* /site/404 404
The purpose here:
if you type:
https://sitename.netlify.app/home - I need it to take you to the ‘home.html’ located in the ‘site’ folder.
I also want a custom 404 page (which I made as 404.html in ‘site’ folder).
No matter what configuration I try, or even tests, nothing works. All the build logs says is 'post processing redirects, followed by post-processing done.
Please help.
P.S I’ve tried it with and without pretty URL.
Note: I’m not super willing to share the directory (which is why I tried my best to explain the layout). Reasoning is that it’s a private ‘interactive letter’ I’m working on, if that makes sense?