enter image description hereI added a URL path to a working Drupal webform, and emailed users were given this link to the webform (which went through Civimail) :
Later I found that the existing contact wasn't being prefilled. Eventually I figured it was this change that had caused the problem. When I changed the link back to the usual Drupal format with 'node':
the contact prefill worked. Why is this? We will now email users to give them the working link, but is there a way of fixing this so either works? Is this a bug or a 'feature'! (screenshot added)

  • 1
    Are you using URL Alias (Pathauto module) or URL Redirect module or another module? Oct 25, 2020 at 18:50
  • I have neither module installed. In Drupal's 'URL Aliases' the path 'christmasconnection' is an alias for node/82 - is that relevant?
    – Andy Clark
    Oct 25, 2020 at 18:58
  • We use URL aliases all the time. Could it be a caching issue? Oct 26, 2020 at 1:53
  • The problem is rock solid, so I don't think it can be caching.
    – Andy Clark
    Oct 26, 2020 at 8:18

1 Answer 1


Let's take out CiviMail from the equation -> are you able to do this:

enter image description here

enter image description here

  • No, not able to do exactly that - this is Drupal 7 and Civi at 5.28.3. I can only type in a URL path setting - screenshot added to original question
    – Andy Clark
    Oct 27, 2020 at 8:19
  • Ok so I mean - can you view the form and is it handling the arguments properly -> with the alias -> like I have in my screenshot? Oct 27, 2020 at 14:05
  • Yes, I've added a URL alias and it works fine - in fact I've left it there as we already sent an email to users with the link using that URL - so they might still try it. It works but doesn't fill the existing contact. Your screen (Drupal 8?) just looks different to mine.
    – Andy Clark
    Oct 27, 2020 at 17:22
  • I am in Drupal 7 (and use links to prefilled webforms with aliases regularly) my screenshot looks the same as Karin's with the Generate automatic URL alias checkbox. But I am using Pathauto. Perhaps that's the difference?
    – RayWright
    Oct 27, 2020 at 19:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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