Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16849

Remove requirement for CIVICRM_UF_BASEURL

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.6.4
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding

      Description

      Raising for discussion, since it seems to be a common source of community support questions.

      CiviCRM requires a single base URL configured in civicrm.settings.php, and certain forms do not behave as expected if accessed via incorrect base URL.

      AFAIK Drupal, Joomla and Wordpress out of the box handle this dynamically, so CiviCRM has an extra configuration requirement that isn't on many user's radar when they start using CiviCRM.

      (WordPress has a base URL stored in the DB, and redirects so that you cannot view a form with the incorrect base URL. This would be an improvement.)

      • Could we remove CIVICRM_UF_BASEURL entirely? The name suggests it relates to an expectation of the UF rather than CiviCRM itself?
      • If not, can we at least handle incorrect URL access better via redirects?
      • Is this well-enough documented, since I get the impression it's a common pain point for users?

      Related: CRM-6492, CRM-16728, CRM-16516

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: