Nicole_C Posted November 5, 2019 Share Posted November 5, 2019 (edited) How do I replace uploaded PDF files? The Link Editor dialog is showing only 20 files. So how do I replace old files with new ones while still maintaining the same URL? In older squarespace versions, I was able to find the file, delete it, and then upload a new file with the same filename. This way, the URL didn't change and all links across my website to that file were maintained. Now, I have no way of doing this without changing every single link to the new URL of the newly uploaded file. And Searching for a filename doesn't work either. The search only returns results from the 20 listed files. Please help! Edited November 5, 2019 by Nicole_C bekaRoo 1 Link to comment
Nicole_C Posted November 5, 2019 Author Share Posted November 5, 2019 Also, I wouldn't want the old files to continue to be indexed by Google. So there needs to be a way to delete them! This is basic file management functionality... bekaRoo 1 Link to comment
yo_yo0720 Posted March 26, 2020 Share Posted March 26, 2020 There seems no way to replace the file without changing its URL. https://support.squarespace.com/hc/en-us/articles/205812748-Image-and-file-URLs-in-Squarespace Link to comment
PaulGordon Posted April 1, 2021 Share Posted April 1, 2021 Was there a resolution to this? I have the same question Link to comment
ACCD Posted May 6, 2021 Share Posted May 6, 2021 It would be SUPER if there was a resolution to this. Link to comment
tuanphan Posted May 9, 2021 Share Posted May 9, 2021 Remove current file, upload new one with same name, same format Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
springerdesign Posted April 26, 2022 Share Posted April 26, 2022 This didn't work for me. I deleted the original file, saved changes, and then went back in and uploaded the file with the same name, but Squarespace added a little four character hash after the file name, which messes up the links. Link to comment
springerdesign Posted April 26, 2022 Share Posted April 26, 2022 Nevermind! User error! tuanphan 1 Link to comment
ITsorted-Massimo Posted July 14, 2022 Share Posted July 14, 2022 (edited) There IS a solution! FIRST, TO BE CLEAR ABOUT THE PROBLEM ... When you upload a file it is stored in a certain "location" which has its own "static URL" (or unique address). So, for example, if you upload a PDF (e.g. 'my test PDF.pdf') as a "linked file" it would have an address or URL something like this (notice spaces in the name of the file are replaced by '+' s) ... https://static1.squarespace.com/static/559fb5d6e4b0b8eb00f70a64/t/62cffc8d5c22873463703f6f/1657797774503/my+test+PDF.pdf When people click on the link and the file opens (usually in a new Tab) this is the address/URL people see in their address bar. But when you remove this file and then upload a file with the same name, it will have a slightly different address or URL ... https://static1.squarespace.com/static/559fb5d6e4b0b8eb00f70a64/t/62cff2097cc7fc7cb944a60b/1657795082728/my+test+PDF.pdf So if you give people the first address as a link (e.g. in an email or on social media or elsewhere), but then replace the pdf with a new version, the old link no longer works (as it points to the old version that is no longer there). THE SOLUTION Squarespace uses "shortcuts" to point to uploaded files. So the shortcut to the above file would be ... https://yourwebsite.com/s/my-test-PDF.pdf (Notice that the spaces in the file name are replaced here with '-' s) You can use this link and give it out. Then, when you delete the original pdf and upload a new version, with exactly the same name, the same link will still work. Where to get the shortcut link? Edit a page that has a link to that file (or create a new link to that file on an existing page) Click on the link Click on the link icon You'll see the shortcut - /s/my-test-PDF.pdf Copy that You can now add this to the end of your website address - https://yourwebsite.com to give the full URL or address that you can use wherever you want to ... https://yourwebsite.com/s/my-test-PDF.pdf How to replace the file Delete the original file Upload a new version, with exactly the same name WARNING Do NOT upload two files with the same name - they will show in the list as the same, but the second will have some random extra characters added to distinguish it and the link will be something like this https://yourwebsite.com/s/my-test-PDF-sqk.pdf Hope that helps someone Edited July 14, 2022 by ITsorted-Massimo Link to comment
theoB86 Posted September 3, 2022 Share Posted September 3, 2022 Hello that doesn't work Link to comment
paul2009 Posted September 3, 2022 Share Posted September 3, 2022 8 minutes ago, theoB86 said: Hello that doesn't work If you'd like some help, please be a little more specific by including some more information. For more detail, please see How to Post a Forum Question. 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.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment