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

Allow WordPress to store wp-content outside of main wp directory

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.1
    • Component/s: WordPress Integration
    • Labels:
      None

      Description

      WP allows the wp-content directory to be outside the main WP directory. This works fine for everything except cli/cron jobs. Check:

      http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content

      We need to let Civi know where WP is located. Since this does not seem to be too common a case, one short term fix is to add a: CIVICRM_CMSDIR setting in settings_location.php. This allows sites with this structure to continue working as normal.

      I've added documentation for this here:

      http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=83034188

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lobo Donald A. Lobo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified