Skip to content
DnsLister Forum

Where domain hunters compare notes

Does Notion Sites support custom URL redirects for specific paths on a custom domain?

Hi,

We are building a public integration for Notion Sites and need to verify whether Notion supports creating a custom URL redirect for a specific path.

Our requirement is:

Source URL:

https://example.com/inow_4057848932441f5f30521f45400164ad.txt

Redirect to:

https://yourdomain.com/inow_4057848932441f5f30521f45400164ad.txt

The destination file returns:

4057848932441f5f30521f45400164ad

We would like to know:

  • Can a path-specific redirect like this be configured directly in Notion Sites?
  • Is there a Notion API endpoint for creating URL redirects?
  • Can this be configured manually in the Notion Sites settings?
  • If the site uses a custom domain connected to Notion, does Notion provide any redirect-rule functionality?
  • If Notion does not support this, is the recommended solution to configure the redirect at the domain/DNS/CDN provider such as Cloudflare?
  • Is there any alternative way to serve a .txt file at the root of a Notion Site custom domain?

The important requirement is that requesting:

https://example.com/inow_4057848932441f5f30521f45400164ad.txt

must either return the TXT content directly or redirect to the hosted TXT file.

Thanks!

Source: r/NotionAPI · by /u/DueGeologist2512

Leave a Reply

Your email address will not be published. Required fields are marked *