Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to replace squarespace image url (static.squarepace) so it shos my Domain?


Gui

Recommended Posts

Squarespace serve static files via multiple geographically distributed content delivery networks (CDNs) to ensure the data is served from the datacenter closest to the visitor’s location. The url is fixed as static1.squarespace.com followed by a string of random characters and the file name. You cannot change this.

However, if you want to share a direct link to the PDF you could share it using https://www.bakdshop.com/s/BakdHolidays_20.pdf instead (domain name + /s/ + filename).

 

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
17 hours ago, paul2009 said:

Squarespace serve static files via multiple geographically distributed content delivery networks (CDNs) to ensure the data is served from the datacenter closest to the visitor’s location. The url is fixed as static1.squarespace.com followed by a string of random characters and the file name. You cannot change this.

However, if you want to share a direct link to the PDF you could share it using https://www.bakdshop.com/s/BakdHolidays_20.pdf instead (domain name + /s/ + filename).

 

Thank you, Paul!

Link to comment
  • 7 months later...
On 11/25/2019 at 5:24 AM, paul2009 said:

Squarespace serve static files via multiple geographically distributed content delivery networks (CDNs) to ensure the data is served from the datacenter closest to the visitor’s location. The url is fixed as static1.squarespace.com followed by a string of random characters and the file name. You cannot change this.

However, if you want to share a direct link to the PDF you could share it using https://www.bakdshop.com/s/BakdHolidays_20.pdf instead (domain name + /s/ + filename).

 

Hi Paul, are you aware of whether your feedback is still valid currently? All our product image urls start with https://images.squarespace-cdn.com/content/ and when we replace with domain name + /s /+ filename it does not work. Is this approach not valid for the -cdn image urls?  Thanks.

Link to comment
5 hours ago, midwicket said:

are you aware of whether your feedback is still valid currently? All our product image urls start with https://images.squarespace-cdn.com/content/

This thread is about 'static' files, not image files. For example, when you add a PDF, DOC or XLS file to your site for visitors to download. If you're asking about a static file, please include a few details of the page where we'll find it.

If your question is about images, you may want to start a new thread/question 🙂

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment

Thanks for the clarification Paul. Clear now. Yes I was asking about image files and since it does not appear that the solution works for image files, I won't start a new thread. I guess we are stuck with the 5,000 character gobbledygook image URL that Squarespace bequeaths on us in their own wisdom.

Link to comment
  • 3 months later...

Is there a way to redirect an old/invalid static address (pasted below for reference)? In an external report we provided a hyperlink to a pdf on our website using the entire static1 address, but then when we updated the pdf file and deleted the old one, that old hyperlink no longer works. Is there a way to use that old address to redirect to the new file? Or is there a way to assign the old address to the new file? (There's no way to change the report hyperlink). Thanks!!!!

https://static1.squarespace.com/static/590a4a012994caa0d307dd6f/t/5f60daddb4bbe43f2e350390/1600183011147/Shared+Stewardship+in+Klamath+and+Lake+Counties+Memorandum+of+Understanding+09152020.pdf

Link to comment
1 hour ago, klfhp2020 said:

Is there a way to redirect an old/invalid static address? In an external report we provided a hyperlink to a pdf on our website using the entire static1 address, but then when we updated the pdf file and deleted the old one, that old hyperlink no longer works. Is there a way to use that old address to redirect to the new file?

No. These are CDN links and are unique. You cannot reuse them. 

For future reference, when posting a link to a file it's best to use the link that uses your own domain. Then, if you later replace the file within another one of the same name, the link will keep working.

   If a post helps you, please click a "Like" option below  ↘️

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 7 months later...

I'm guessing no-one has found a way to replace the CDN link with something that looks a bit more professional (hides the squarespace URL?).

I'm in the process of putting a training website together and have another one in the pipeline but would really like the PDFs to open and display the URL of the website I am creating.

 

John

breathe.design

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...