Hi guys!! I’m setting up an advertising platform on a website hosted through Plasmic and need to make an ads.txt file accessible at the root of my custom domain:
https://example.com/ads.txt
The advertising provider requires this URL to either:
-
Serve a static
ads.txtfile directly from the domain root, or -
Return a proper server-side HTTP 301/302 redirect to an externally hosted
ads.txtfile.
A client-side HTML or JavaScript redirect won’t work because the request must be handled at the HTTP/server level.
Does Plasmic hosting support either option? If not, is there a recommended way to expose an ads.txt file at the root of a Plasmic-hosted custom domain?
Thank youu - Ben