[[redirects]] sometimes work and sometimes it does not

Not sure what is happening but sometime the redirect does not work.

So this is on my main site marius.dev. Ass soon as i hit marius.dev/vip-ml i want it to load that page. But sometime even if i don’t change anything in the redirect and do a build from new git commit, redirect stop working and i get 404 errors for missing files. Any advise on what is happening?

[[redirects]]
from = "/vip-ml"
to = "https://vip-ml.netlify.app/"
# status = 200
# force = true

Also if i go here using this link
https://5ebe8bdae3ba79000789f441--marius-dev.netlify.app/
and then just add /vip-ml to like so
https://5ebe8bdae3ba79000789f441--marius-dev.netlify.app/vip-ml
It works… This is the same build as my www.marius.dev, but for some reason when using marius.dev/vip-ml does not work.

So if i type www.marius.dev/vip-ml it does work, but if i type marius.dev/vip-ml it does not even tho the main website opens with or without www, I’m confused

Sorted had some issues with CRA and Routes my bad, but was expecting the server to pick up still interesting that www works and without does not hm

1 Like