Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello Shopify Community,
I am the part of a Shopify store called "Vici Fashion Club India" (vicifashionclub.com/). We recently duplicated a theme from another website and customized it for our store. However, we are facing an issue with numerous broken links in the theme code, including links to images and fonts that no longer exist.
We have tried to locate and remove these broken links, but there are too many to handle manually. We would greatly appreciate any guidance or assistance in removing these broken links from the theme code. If anyone has experience with this or can recommend a developer who can help us, that would be fantastic!
Thank you for your support!
Best regards,
Asish Gidugu
Vici Fashion Club India
Hey @Asish,
This happen when you do custom code in your theme file. So once the theme update then it remove the custom code.
So in order to keep the things same on the updated theme then you need to paste the code again in the updated version.
Hey @TheScriptFlow ,
Thanks for the response.
As I mentioned, the Shopify theme was duplicated from one of our other sites and manually uploaded here—so it's not set to receive automatic updates.
It’s likely that the original site had those image and font files, but they aren’t present in the current version. I’ve come across multiple broken links, like this one:
https://vicifashionclub.com/cdn/shop/files/black_120x120.png?115
I did spot many of these references in the "Edit Code" section—probably hundreds of them across the theme. We tried using the Ablestar Link Manager app, but it didn't detect any broken links for some reason.
So my question is:
Is manually removing them from the code the only way forward, or is there a more efficient method (like a tool, script, or app) to bulk clean or flag these broken links from the theme?
Would appreciate any guidance on this.
Best regards,
Asish
Vici Fashion Club India
Hi @Asish
This issue is mostly related to your action after duplicating the theme you mentioned from another store, as each store has individual structures and not all the store can work perfectly, and it has compatibility issues especially on the page redirections.
I just wonder if you would like to handle this issue with the help of the app end, as I installed one on my another store, and it supports automatically broken link redirecting as well as bulk redirect. You can have a try and see if this one can save your time and energy to resolve this issue. Thank you!