Jump to content

How to host a file at root level

Go to solution Solved by paul2009,

Recommended Posts

I need to host a file at the root level of my site e.g. https://example.com/file_name.txt

Right now the only option I found is to get https://example.com/s/file_name.txt by going to Pages, adding an Unlinked page that is a Link to a File, but I cannot remove the /s part of the URL, which is critical for crawlers to pick up the file. 

How do I manage serving a file at the root level of the domain?

Link to comment
  • Solution
On 4/4/2023 at 2:00 AM, Angelino-CH said:

I need to host a file at the root level of my site

On Squarespace, you cannot host a file without the "/s/" part of the URL. You will need to host the file on a different platform. I appreciate this is not what you wanted to hear, but I hope this saves you lots of time looking for a solution that doesn't exist 🙂

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.