Nexodeunion Posted October 30, 2014 Share Posted October 30, 2014 Hi! I have some links like this in my product.tpl: <a href="http://mysite.com/{$product->id}-eps.rar">DOWNLOAD</a> Clicking here users can download some templates for design their own products. But there are a few broken links. Do you know any way to avoid error 404 in broken links checking the url before with something like a javascript function? I want to display a message if the link is broken to let user report the error, and simply download if the links are ok. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now