Jump to content

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

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

 

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

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 🙂

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

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  ↘️

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • 7 months later...
  • 4 months later...
On 11/24/2019 at 1:24 PM, 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 @paul2009,

So it is possible for a PDF to show:
https://domain.com/name-of-pdf.pdf vs
https://static1.squarespace.com/static/456.../name-of-pdf.pdf?

Or is it just impossible?

Thanks,

Roland

I run FuseHub Creative Group, a syndicate of creatives from all over the world with one common goal - to develop creative and strategic solutions for ambitious organizations, and develop cool plugins which you can find on the SQS Mods platform - Circle Members always get a 10% discount with this code: SQSMOD10.

Link to comment
8 minutes ago, RolandFuseHub said:

You can share the PDF using https://domain.com/s/name-of-pdf.pdf but when the user views it on the site, the other URL (https://static1.squarespace.com/...) will always appear in the address bar.

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own 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 fuels my work.

Book paid help with a Squarespace Domain

Link to comment
Just now, paul2009 said:

You can share the PDF using https://domain.com/s/name-of-pdf.pdf but when the user views it on the site, the other URL (https://static1.squarespace.com/...) will always appear in the address bar.

Thanks for clarifying Paul. This being Job Descriptions, it might be better to create a page for it vs a PDF.

I run FuseHub Creative Group, a syndicate of creatives from all over the world with one common goal - to develop creative and strategic solutions for ambitious organizations, and develop cool plugins which you can find on the SQS Mods platform - Circle Members always get a 10% discount with this code: SQSMOD10.

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.