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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • URL Rewrite for CiviCRM Links in Joomla
Pages: [1]

Author Topic: URL Rewrite for CiviCRM Links in Joomla  (Read 4161 times)

ds505

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 3
URL Rewrite for CiviCRM Links in Joomla
September 23, 2008, 03:17:16 pm
Not sure if this is a Civi or Joomla! issue.

We are using CiviCRM to create searchable profiles. For some of the profiles, we want to add direct links to the results within our Joomla! content pages. The problem is that we're using the built-in Joomla! SEF and it's rewriting those links. Clicking on them causes errors.

For example, the menu link to the searchable directory would have this format and works fine:
/component/option,com_civicrm/Itemid,41/lang,en/

If I do a search from there, it generates the search results at this path without a problem:
/index.php?option=com_civicrm&task=civicrm/profile&_qf_Search_display=true

However, if I enter the path above into one of my Joomla! content pages, it rewrites the URL like this and causes a "You do not have permission to execute this url" error message:
/component/option,com_civicrm/task,civicrm/profile/_qf_Search_display,true

Some things to note:

    * Joomla 1.0.15
    * CiviCRM 2.0
    * Install is in a subdirectory


Has anyone else run into this? Is there a way to change the htaccess file so that Joomla! won't rewrite the CiviCRM links within a content page?
Data-Scribe(r)
http://www.datascribe.biz

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: URL Rewrite for CiviCRM Links in Joomla
September 23, 2008, 03:30:49 pm
Sounds like you might want to also post this question on a Joomla / SEF forum - since your basically saying you don't want SEF to rewrite the HREF's for certain (all?) links that occur in content pages.
Protect your investment in CiviCRM by  becoming a Member!

nightlrd

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Joomla 1.5
Re: URL Rewrite for CiviCRM Links in Joomla
October 01, 2008, 04:07:38 pm
Are you using the default Joomla SEF or an extention.

If you don't mind the extention route, sh404sef is a good one and has the ability to bypass the rewrites on civicrm.

businessbroker

  • Guest
Re: URL Rewrite for CiviCRM Links in Joomla
October 03, 2008, 04:41:35 am
yes, with sh404sef you can do redirect url per url by hand, in this way it is very simple

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • URL Rewrite for CiviCRM Links in Joomla

This forum was archived on 2017-11-26.