When clicking on this link quotes.medicarefaq.com from Slack for example it will not redirect properly, however a hard refresh(cmd + shift + r on OSX) will then redirect properly.
[[redirects]]
from = "/"
to = "/ms/020220/"
status = 301
force = true
I think it might be due to the site being in the root, and creating the page being redirected to with createPage. But not quite sure and not sure how to force this to work as intended.
createPage({
...page,
path: '/ms/020220/',
context: {title: 'Supplemental Medicare'}
})
However clicking on this link from somewhere works as intended: quotes.medicarefaq.com/ms, with the following redirect:
[[redirects]]
from = "/ms"
to = "/ms/020220/"
status = 301