Jump to content

Include my own .html file under my directory

Recommended Posts

Site URL: http://www.brighterbrew.com

Hello,

I have a fully functioning .html file that I would like to add to my directory. I don't need any help with the code, I don't need it to feature any of my site's functions that were built within squarespace, and I don't even need it linked or visible from my page or via search results. I just want to host it at http://www.mysite/myfile.html. How can I achieve this? I haven't been able to find anything on the forums, and SS refuses to offer support.

Thanks so much in advance to the community for help!

Aaron

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

31 minutes ago, brighterbrew said:

I have a fully functioning .html file that I would like to add to my directory. I just want to host it at http://www.mysite/myfile.html. How can I achieve this?

You can only do this by enabling Developer Mode (DM).

Squarespace is not a hosting service so if you do not enable DM then it cannot host HTML files. However, you can host the content of the file within a Squarespace page, either by injecting the content of the file using code injection and/or with a Code Block. If you do this, you'll need to remove the unique elements of the .html file because the Squarespace page will already have them.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.