CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
Pages: [1]

Author Topic: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?  (Read 1183 times)

Detlev

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
    • Software für Engagierte e.V.
  • CiviCRM version: 4.5
  • CMS version: Drupal
With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
November 28, 2013, 01:34:30 am
In Germany, we say: I have tomatoes on my eyes ....  ;)

Within a CiviCRM on Drupal installation, I want to create a shortcut ("clean urls") for a contribution page.

E.g. instead of all that stuff like
Code: [Select]
exampledomain.org/index.php?q=civicrm/contribute/transact&reset=1&id=3

it should read simply like
Code: [Select]
exampledomain.org/contribute

Any idea, how to proceed?

« Last Edit: November 28, 2013, 02:21:25 am by Detlev »

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
November 28, 2013, 04:37:37 am
You can add a URL Alias in Drupal to acheive this.

PLEASE NOTE: This URL Alias will work only when the Contribution form is loaded and not in Confirmation or Thank you pages.



Detlev

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
    • Software für Engagierte e.V.
  • CiviCRM version: 4.5
  • CMS version: Drupal
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
November 28, 2013, 05:10:22 am
Thank you for that hint - however: When I try to do this as described, I get the error:

Quote
The path 'index.php?q=civicrm/profile/search&gid=18&reset=1&force=1&search=0' is either invalid or you do not have access to it.

Any idea, what I am missing?

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
November 28, 2013, 05:49:32 am
Try adding 'civicrm/profile/search&gid=18&reset=1&force=1&search=0' without 'index.php?q=' in it.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
December 01, 2013, 05:45:28 am
Or try https://drupal.org/project/path_redirect
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Hardwick

  • I post frequently
  • ***
  • Posts: 124
  • Karma: 1
  • CiviCRM version: 4.0.5
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
December 01, 2013, 08:13:49 am
We also are attempting to reconfigure urls on existing sites, would drupal alias clean up all civiprofile pages to read as "non-civi" aka clean paths? also curious if this will work for older versions or at least older than 4.0.5 Thanks H

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: With Drupal: How can I create shortcuts ("clean urls") for a contribution page?
December 02, 2013, 05:46:26 am
No, I don't believe there is any automated way to clean all URL, but yes, it should work with any version of CiviCRM.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • With Drupal: How can I create shortcuts ("clean urls") for a contribution page?

This forum was archived on 2017-11-26.