skip to Main Content

Is there a way to remove the metadata ‘author’ code inserted by Yoast SEO in WordPress?

    <meta name="author" content="login.username" />
    <!-- / Yoast SEO plugin. -->

I have looked through all the options in the Yoast SEO plugin and tried a few PHP Code Snippets but to no avail.

Can anyone help?

Thanks!

Paully

2

Answers


  1. I think this may be the answer you are looking for: https://yoast.com/help/disable-enable-author-archives/

    If you disable the author archive this should remove the author from posts.

    Login or Signup to reply.
  2. There is a filter wpseo_meta_author since version 19.3 you can use to change or remove the content of the author meta tag, so to remove it:

    add_filter( 'wpseo_meta_author', '__return_false' );
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search