Posted: November 20, 2019 at 5:48 am
|
Hello, I would like to set past events for Google to “noindex”. Unfortunately SeoPress does not show any possibility to define SEO settings in the events created with EventEspresso. I can only set the archive of the taxonomy type “event categories [espresso_event_categories]” to noindex. How do events come to the archive? Automatically? Or is there another way to use SeoPress with EventEspresso? Many thanks for your help |
Hi Helga, There is a way to have the noindex tag applied automatically at the moment the event end. It’s a tiny bit of code you can add to your site: https://gist.github.com/joshfeck/70979dc12f93ab25dd668ed4500be477 You can add the above to a functions plugin by following this guide. |
|
|
Hi Josh, thank you very much for your quick reply. I hope I can do it. 🙂 Best regards |
|
This reply has been marked as private. |
This is incorrect, Event Espresso does use a custom post type for its events. We do not use the default WordPress editor routes, but we do use custom post types for our events with additional info stored in custom tables, however, EE events have
I’ve had a look over SEOPress and the fix for this needs to be done within SEOPress rather than EE. There’s a filter (mentioned above) within SEOPress which can be used to tell it to load on Event Espresso post types however the plugin also checks for the standard WP editor route ( We actually filter |
|
The support post ‘SeoPress’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.