# Sta permalinks toe onder /.well-known/ ongeacht login-vereiste

**URL:** https://meta.discourse.org/t/allow-permalinks-under-well-known-regardless-of-login-required/317935
**Category:** Feature
**Created:** [23 juli 2024 om 22:06 UTC](https://meta.discourse.org/t/allow-permalinks-under-well-known-regardless-of-login-required/317935 "2024-07-23T22:06:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [23 juli 2024 om 22:06 UTC](https://meta.discourse.org/t/allow-permalinks-under-well-known-regardless-of-login-required/317935/1 "2024-07-23T22:06:22Z")

</div>

Continuing the discussion from [Static dir + file for Domain verification](https://meta.discourse.org/t/static-dir-file-for-domain-verification/317705/8):

> [@Static dir + file for Domain verification](https://meta.discourse.org/t/static-dir-file-for-domain-verification/317705/8):
>
> special-casing Permalinks under `/.well-known/` to work regardless of `login-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`.
