Annoying href dead link

Permalink Browser Info Environment
I use Cycle heavily on my website, and am happy with it, but I 've just figured out that it generates 404 errors due to a href {{link}} in the code :

data-cycle-overlay-template='<div class="cycle-caption" style="z-index:30">{{h2link}}<h4>{{desc}}</h4><a class="btn btn-default {{hiddenclass}}" href="{{link}}">{{buttontext}}</a></div>'

Could you tell me if there's one way to avoid it ?

Thank you.

Type: Discussion
Status: In Progress
View Replies:
jero replied on at Permalink Reply
I think that it's maybe the empty anchor tag that's causing the issue. It's probably only robots that are causing this since the button etc should not be showing if there is no link.

The simplest thing seems to be to set the URL to # if there is no link. Version 1.0.2 now does this.

concrete5 Environment Information


Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.