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

Event pages should be set to NoIndex when event is not public or in the past

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.30
    • Fix Version/s: 5.0.0
    • Component/s: CiviEvent
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When an event is configured as not public, the event is excluded from public advertisement by iCalendar an the Upcoming Events block.

      When enabled, this event will be included in iCalendar feeds and displayed on your site's "Upcoming Events" block.

      Unfortunately the event (even very old and long closed events) are still indexed by search engines. Although we cannot force search engines to remove the listing of the event (actually unwanted pages can be removed by for instance Google Search Console).

      This patch will inject a NOINDEX,NOFOLLOW in the head of the Event Info page when:

      1. the event is set to not public
      2. the event is in the past

      https://github.com/civicrm/civicrm-core/pull/11496

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              magnolia61 Richard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: