Home › Forums › Calendar Products › Events Calendar PRO › Bug: TEC incompatible with Yoast SEO
- This topic has 4 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
December 28, 2015 at 4:35 pm #1047559
Sean
ParticipantHi,
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…
January 4, 2016 at 9:09 am #1049904Brian
MemberHi,
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
January 4, 2016 at 9:13 am #1049905Sean
ParticipantGood morning Brian,
Thanks for logging this in the bug tracker. Yes, I have also found that to be the case.
January 4, 2016 at 5:41 pm #1050134Brian
MemberOk thanks for confirming.
I will leave this ticket as Pending Fix, but not sure of a timeline to resolve it right now.
Thanks
February 18, 2016 at 8:33 am #1076455Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Bug: TEC incompatible with Yoast SEO’ is closed to new replies.
