Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.6, 4.7
-
Fix Version/s: Unscheduled
-
Component/s: CiviEvent
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
When Event pages are shared on Facebook from a Wordpress install, the preview text does not display properly. This appears to be caused by the Open Graph data being scraped from the 'civicrm' basepage rather than the specific event page being linked to.
The problem can be seen by using the Facebook scraping tool, on the CiviCRM demo sites, which show that only WP seems to have this problem.
If the WP demo event page is scraped, the Open Graph title returned will match that of the basepage rather than the title of the event page.
og:title CiviCRM | CiviCRM Sandbox on WordPress
Performing the same task on the Drupal or Joomla demo pages produces the expected OG title,
og:title Rain-forest Cup Youth Soccer Tournament | CiviCRM Sandbox on Drupal