We have a problem with tracked click trough links ending up in a 404 Page not Found but only when the target URL ends in a hyphen.

e.g. we link to something like and end up nowhere: https://mysite.eu/this-will-not-work-

while this works as intended: https://mysite.eu/this-will-work-all-right

Is anyone able to reproduce?

We are on Wordpress 4.9.x, PHP 7.0 and Civi 5.3 (and planning to upgrade real soon).


This was reproduced back in 2010: https://issues.civicrm.org/jira/browse/CRM-7192

In short, this is a bug in CiviCRM that someone could fix, but it's very rarely triggered, and those who are affected haven't decided it was worth investing in the fix.

  • Thanks for digging that up. We better make sure not to use URLs ending in a hyphen then – Wim van Meurs Dec 24 '18 at 17:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.