Avxo
1
Hello
I have a site on a sub folder
I want the domain https://freebiejeebie.com/ to show up on this sub folder
I dont use TOML file for redirects
I use root /_redirects
With command
/* /site/freebiejeebie/:splat 200 Host=freebiejeebie.com,www.freebiejeebie.com
But its not working - freebiebeebie = always goes to the root
Any ideas?
Redirects file
@Avxo Have you tried that particular rule with the force !
, see:
https://docs.netlify.com/routing/redirects/redirect-options/#force-redirects
Out of interest, where did you find the Host
value in the documentation?
Avxo
3
Thanks for replying. Truthfully using AI to code for me, im not a developer. Using Cursor AI - so its suggested “host” - is it definitely not right?
@Avxo I’m not familiar with it and couldn’t spot it in the documentation, that’s why I asked for the source.
I don’t assist with AI generated issues, but best of luck getting it sorted!
/* /site/freebiejeebie/:splat 200
should be enough. AI is hallunicating.
In any case, the easier solution would be to change your publish directory to directly publish /site/freebiejeebie
as the root.