Rsigler3 Posted July 10 Posted July 10 Hey Gang, I run a website for a hospital. The hospital is required to host a very, very small text file in the root folder. This file is used with pricing transparency. (I really don't understand its purpose. It's basically invisible except to the company that runs the pricing website. So, in Squarespace, how can I do this? I know SS is a server less web host...but there has to be a way. (At least I'm hoping) Thanks in advance! Rob Beyondspace and HoaLT 2
Beyondspace Posted July 11 Posted July 11 (edited) On 7/11/2024 at 2:43 AM, Rsigler3 said: Hey Gang, I run a website for a hospital. The hospital is required to host a very, very small text file in the root folder. This file is used with pricing transparency. (I really don't understand its purpose. It's basically invisible except to the company that runs the pricing website. So, in Squarespace, how can I do this? I know SS is a server less web host...but there has to be a way. (At least I'm hoping) Thanks in advance! Rob Hi Rob, this is exactly what I shared in my blog post: workaround to upload the file into root directory Basically you need to upload your file.txt file using the Link manager Then the file is available at /s/file.txt, based on the support of your hospital, we need to trace to file's source Finally use the redirection for /file.txt -> /cdn/file.txt 301 to effective mimics the behavior of uploading files to root directory Note that not all service allow redirection, so you need to double check with the developer about this matter, this method proved working with Google ads.txt, Bing verification and Indexnow API key Edited July 12 by Beyondspace HoaLT 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
HoaLT Posted July 11 Posted July 11 (edited) I confirm that this way is working with my google ads.txt set up Edited July 11 by HoaLT Beyondspace 1 Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) 📑 Squarespace embed PDF popup (affiliate link)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment