Duplicate content and canonical

Home Forums Calendar Products Events Calendar PRO Duplicate content and canonical

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #137400
    gemini23
    Participant

    I am new to using the Calendar and although all looks great, there does seem to be potential duplicate content (and title tags) issues, especially with recurring events.
    I am using All In One Seo – although I am not sure how that can affect the events – the AIOSEO seems to be disable in the events
    I guess one way to avoid the duplicate content issue is to add a canonical tag to each new recurring event – where could this be added?

    #138899
    Barry
    Member

    Great question.

    Ordinarily, WordPress tries to add a canonical link during the wp_head action. What Events Calendar PRO does – if a single, recurring event is being viewed – is remove WordPress’s callback and substitute its own callback (you can see the relevant code here and here).

    So there’s no reason you couldn’t add your own code along similar lines – knocking out our callback that generates the canonical link in those conditions and replacing it with your own – of course if AIOSEO also has logic that impacts here you would need to carefully workaround both systems.

    I hope that helps 🙂

    #686318
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Duplicate content and canonical’ is closed to new replies.