Bug: TEC incompatible with Yoast SEO

Home Forums Calendar Products Events Calendar PRO Bug: TEC incompatible with Yoast SEO

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1047559
    Sean
    Participant

    Hi,

    Found this issue with TEC being incompatible with the popular Yoast SEO plugin.

    The issue: When a Venue or Organizer is published, the slug/url is set based on the title of the Event (and not the title of the Venue or Organizer). For example, if I create an event with the title “Testing Event Title Link” the slug of the Event will be /event/testing-event-title-link/
    If the Venue submitted with that event is titled “Unique Venue Name” the slug should be /venue/unique-venue-name but instead it is /venue/testing-event-title-link/
    Also, an Organizer titled “Organizer Unique Name” should be /organizer/organizer-unique-name/ but instead it is /organizer/testing-event-title-link/

    More info: when TEC creates the venue/organizer in the first place it saves it with an empty slug (which is visible in WP-Admin for some reason, but not saved in the DB, it seems to be generated on the fly for WP-Admin) this shouldn’t happen.

    Then, the WP SEO plugin has a function that filters the URL… https://github.com/Yoast/wordpress-seo/blob/ac395074f7122473d324153271c7a3d1aa70a9ff/admin/class-admin.php#L541 and this funcion doesn’t execute when the post type has a non published status… but as soon as you publish the post, this function changes the slug for the main post’s slug (generated from the title actually), which is the event post, instead of the venue post…

    #1049904
    Brian
    Member

    Hi,

    Thanks for reporting this issue.

    I was able to recreate the issue using Community Events and I have created a bug ticket to address this issue.

    If I publish the event using Community Events from the front end it works.

    If I set it to Pending Review or Draft that is when the slug takes on the Event.

    Is that what you are seeing as well?

    Thanks

    #1049905
    Sean
    Participant

    Good morning Brian,

    Thanks for logging this in the bug tracker. Yes, I have also found that to be the case.

    #1050134
    Brian
    Member

    Ok thanks for confirming.

    I will leave this ticket as Pending Fix, but not sure of a timeline to resolve it right now.

    Thanks

    #1076455
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Bug: TEC incompatible with Yoast SEO’ is closed to new replies.