cabennett85/gittest — Issue #1104: Every event page for a cause has the same title and meta description
Author: cabennett85
Created: 2012-03-02 00:35:27+00:00
State: open

Pretty self explanatory... if a cause has multiple events, then all the page titles and meta description are left the same, e.g., :

broadcause.com/bonniejaddariolungcancerfoundation/events/1511445775

broadcause.com/bonniejaddariolungcancerfoundation/events/1511477871

This causes a duplicate page/HTML error warning from Google, and hurts our SEO.

Simple fix-- EVERY page must have a unique title and description (and H1 for that matter)

Solution:

If the Event name is:

"The Bonnie J Addario Lung Cancer Foundation Gainesville 5K Walk/Run"

Take the first 60 characters of the name and put it in the title, with ellipses if it's longer:

Title = "The Bonnie J Addario Lung Cancer Foundation Gainesville 5K Walk...| Event for The Bonnie J Addario Lung Cancer Foundation"

And the Description becomes: (note I changed the boilerplate description as well). NOTE IF WE HAVE A DATE IT SHOULD BE PART OF THE META DESCRIPTION.

Without an event date:
Description
on = "The Bonnie J Addario Lung Cancer Foundation Gainesville 5K Walk/Run. Attend an event for The Bonnie J Addario Lung Cancer Foundation"

H1 (on page): Unchanged from what it is today.

With an event date:

Description = "Attend The Bonnie J Addario Lung Cancer Foundation Gainesville 5K Walk/Run on 5/15/2011. Join an event for The Bonnie J Addario Lung Cancer Foundation"

date in H2 immediately after h1: "March 4, 2011" (Consult Kate for style)

P.S. I didn't see any events with dates, perhaps this functionality is already done.

P.P.S. For clarification... in the case of the examples above, the name of the cause is in the name of the event (by their choosing), so it ends up repeated in the title. To be clear, we are NOT ourselves adding in the name of the cause into the event name, if they called it "Tennis Challenge" than it would be "Tennis Challenge | Event for The Bonnie J Addario Foundation").