Continuing the discussion from Static dir + file for Domain verification:
Static dir + file for Domain verificationspecial-casing Permalinks under
/.well-known/
to work regardless oflogin-required
might be a good idea?
A convenient trick to the solve the problem of
I need to host a static file at
/path
is to use a Permalink to redirect that path somewhere else. However, Permalinks do not work for anons on login-required sites.
I propose special-casing /.well-known/
Permalink paths to always return the redirect regardless of site settings that might otherwise prevent it, e.g. login-required
.
Discuss this on our forum.