Answers.Body: <p>This is still working for me using redirects</p>
  
  <p>admin/config/search/redirect</p>
  
  <p>sends</p>
  
  <p>/join </p>
  
  <p>to</p>
  
  <p>/civicrm/contribute/transact?reset=1&amp;id=3</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-09T04:57:26.953Z
Answers.Text: Thanks. This D7 was not configured with the Redirect module, only admin/config/search/aliases. I'm not clear about alias vs redirect usage cases. Anyway, when I added the Redirect module it produced the same result with munged/encoded special characters in the Civi URL. When I looked at another D7 site I administer, it did have the Redirect module already and the Civi links in it are clean and work just fine! There must me something distinctive about this D7 installation (a module?) that's causing this that I'll try to find via elimination.
Answers.UserDisplayName: Bryan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-09T02:44:58.853Z
Answers.LastActivityDate: 2020-06-09T02:44:58.853Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>When I set up a url path alias in Drupal for a civievent (eg. pubquiz rather than civicrm/event/info&amp;reset=1&amp;id=33) and try to access the alias I get the message 'Access denied You are not authorized to access this page' when I try to access it. This only affects the alias, not the raw civevent path offered by Civi and used in the alias setup.</p>
  
  <p>This approach has worked perfectly in the past, but hasn't been used for six months or so. Other aliases for native drupal paths work perfectly.</p>
  
  <p>When I look at the list of url links in Drupal, I see that for Civievents the 'alias' link looks fine but the 'system' link is munged. It displays as 'civicrm/event/info&amp;reset=1&amp;id=33' but the actual link is <a href="https://XXXX.org/?q=civicrm/event/info%26reset%3D1%26id%3D33" rel="nofollow noreferrer">https://XXXX.org/?q=civicrm/event/info%26reset%3D1%26id%3D33</a></p>
  
  <p>A recent change in Drupal 7 ?</p>
  
  <p>I can work a round this in Webforms, but this way was easier for simple events.</p>
  
  <p>Drupal 7.7.1/Civi 5.24.3</p>
  
Tags: <civievent><drupal>
Title: CiviEvent URL Aliases being munged in Drupal 7
ThreadText: # CiviEvent URL Aliases being munged in Drupal 7
  
  (Asked by: username_0 on 2020-06-09)
  
  When I set up a url path alias in Drupal for a civievent (eg. pubquiz rather than civicrm/event/info&reset=1&id=33) and try to access the alias I get the message 'Access denied You are not authorized to access this page' when I try to access it. This only affects the alias, not the raw civevent path offered by Civi and used in the alias setup.
  
  This approach has worked perfectly in the past, but hasn't been used for six months or so. Other aliases for native drupal paths work perfectly.
  
  When I look at the list of url links in Drupal, I see that for Civievents the 'alias' link looks fine but the 'system' link is munged. It displays as 'civicrm/event/info&reset=1&id=33' but the actual link is <https://XXXX.org/?q=civicrm/event/info%26reset%3D1%26id%3D33>
  
  A recent change in Drupal 7 ?
  
  I can work a round this in Webforms, but this way was easier for simple events.
  
  Drupal 7.7.1/Civi 5.24.3
  
  **Tags:** civievent, drupal
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-06-09. Score: 1
  
  This is still working for me using redirects
  
  admin/config/search/redirect
  
  sends
  
  /join
  
  to
  
  /civicrm/contribute/transact?reset=1&id=3
  
  > **Comments:**
  > **username_0**: Thanks. This D7 was not configured with the Redirect module, only admin/config/search/aliases. I'm not clear about alias vs redirect usage cases. Anyway, when I added the Redirect module it produced the same result with munged/encoded special characters in the Civi URL. When I looked at another D7 site I administer, it did have the Redirect module already and the Civi links in it are clean and work just fine! There must me something distinctive about this D7 installation (a module?) that's causing this that I'll try to find via elimination.  
  
  ---
  
  