Support

Home Forums Event Espresso Premium SEO (3)

SEO (3)

Posted: October 28, 2016 at 11:24 am

Viewing 1 reply thread


westonemanor

October 28, 2016 at 11:24 am

Hi,

I am currently using SEO Ultimate plugin for SEO management on my website.

I really prefer the Yoast SEO plugin but I have been told that it is not compatible with EE4.

Is there a way around this? If so, please can you give me step by step instructions as only the Yoast SEO plugin will meet my needs.

Thanks


Josh

  • Support Staff

October 28, 2016 at 12:12 pm

There is some glitchy features of Yoast SEO that will create problems with Event Espresso 4, but most of those features can be disabled. Right now as far as we are aware, here are the steps for getting Yoast SEO to mostly work:

1) You add this code to your site:

function my_yoast_seo_always_register_metaboxes_in_admin( $do_load ){
    global $pagenow;
    if ( in_array( $pagenow, array( 'admin.php', 'post.php', 'edit.php', 'post-new.php' ) ) ) {
        if( ! empty( $_GET['action'] ) ) {
            return true;
        }
    }
    return $do_load;
}
add_filter( 'wpseo_always_register_metaboxes_on_admin', 'my_yoast_seo_always_register_metaboxes_in_admin' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

2) You disable the Facebook, Twitter, and Google+ meta tags feature.

Please be advised that updates to Yoast SEO may break features in future, and you can avoid breakage by testing your website after each update.

Viewing 1 reply thread

The support post ‘SEO (3)’ 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.

Event Espresso