Answers.Body: <p>One option is to use the solution you linked to above and then set up a friendlier redirect that forwards them to the correct internal page URL. (So you could use something like example.org/donate and when they click on it the Redirect would send them to example.org/civicrm/contribute/transact?reset=1&amp;id=8) The end result is still the default URL, but you could use the friendlier redirect in emails, campaign materials, etc.</p>
  
  <p>Or, set up a webform (using Webform-CiviCRM) that takes payment/contribution. Then you can set up your own URL as usual (but can't use the default contribution form payment profiles, etc. -- you'd have to set the needed fields up in the webform).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-08T22:11:12.320Z
Answers.Text: Yes, that seems to be the simplest option. Use a redirect instead of an alias.
Answers.UserDisplayName: Iowa Boy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-08T18:23:22.667Z
Answers.LastActivityDate: 2018-11-08T18:23:22.667Z
Answers.UserDisplayName: Laryn
Body: <p>Drupal 7.6
  Civi 5.4.1
  I would like to display a Block on a Civi contribution page but I would also like to have the page have a pretty url rather than the Civi civicrm/contribute/transact?reset=1&amp;id=8
  <a href="https://civicrm.stackexchange.com/questions/19040/how-can-i-show-a-drupal-block-on-a-specific-civi-path-that-contains-a-question-m">Here</a> I found help to add the block as long as I have the native Civi url. Any ideas on how I can display the block with a url alias in place?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-08T18:19:44.893Z
Comments.Text: Related: https://civicrm.stackexchange.com/questions/87/how-do-i-change-the-default-urls-to-contribution-or-event-registration-pages/146#146
Comments.UserDisplayName: Laryn
Tags: <drupal>
Title: Display a Block on a specific Civi contribution page using a url alias (How to)
ThreadText: # Display a Block on a specific Civi contribution page using a url alias (How to)
  
  (Asked by: username_0 on 2018-11-08)
  
  Drupal 7.6
  Civi 5.4.1
  I would like to display a Block on a Civi contribution page but I would also like to have the page have a pretty url rather than the Civi civicrm/contribute/transact?reset=1&id=8
  [Here](https://civicrm.stackexchange.com/questions/19040/how-can-i-show-a-drupal-block-on-a-specific-civi-path-that-contains-a-question-m) I found help to add the block as long as I have the native Civi url. Any ideas on how I can display the block with a url alias in place?
  
  **Tags:** drupal
  
  > **Comments:**
  > **username_1**: Related: https://civicrm.stackexchange.com/questions/87/how-do-i-change-the-default-urls-to-contribution-or-event-registration-pages/146#146  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-11-08. Score: 1 | Accepted answer
  
  One option is to use the solution you linked to above and then set up a friendlier redirect that forwards them to the correct internal page URL. (So you could use something like example.org/donate and when they click on it the Redirect would send them to example.org/civicrm/contribute/transact?reset=1&id=8) The end result is still the default URL, but you could use the friendlier redirect in emails, campaign materials, etc.
  
  Or, set up a webform (using Webform-CiviCRM) that takes payment/contribution. Then you can set up your own URL as usual (but can't use the default contribution form payment profiles, etc. -- you'd have to set the needed fields up in the webform).
  
  > **Comments:**
  > **username_0**: Yes, that seems to be the simplest option. Use a redirect instead of an alias.  
  
  ---
  
  