Person schema appears in the organization schema in home page

#201404
  • Resolved Emre Dolu
    Rank Math free

    Hello, I uses an organization schema, but the person schema is also available on the home page. How can I prevent the person scheme from appearing on the home page?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Brian
    Rank Math free

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    What you are seeing there is the Author schema entity which is very important to help Search engines establish the authority of the content creators on your website.

    This would help search engines to connect the author with high-quality authority signals. Please read more on this here: https://rankmath.com/kb/author-schema-entity/

    We really look forward to helping you.

    Thank you.

    Thanks. I know this already, this schema appears in the posts, but I do not want it to appear on the homepage.

    Hello,

    Thank you for the update, and apologies for the delay.

    I’ve checked your homepage using Google’s Rich Results test, and I’m unable to see the person or the author schema.

    It seems that you have already sorted this issue. Could you please confirm if that’s the case?

    Looking forward to helping you.

    Thank you.

    Hi, No not resolved. It does not appear in the rich result test, but appears in the plugin and source code.I’m adding images.

    person schema in SEO Pro Extension Plugin

    homepage source code

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    If you are seeing the Person schema in your Homepage or blog post it must be associated with another schema in this case most likely the article schema type.

    You can delete that by removing these entities in the article schema or using this code:

    add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
    if(isset($entity[author])){
     unset($entity[author]);
    return $entity;
    }
     return $entity;
    });

    If you have this person entity on the static Homepage without any schema type inserted you can customize the author property and unset the profile page and Person data with this filter: https://rankmath.com/kb/author-schema-entity/. Please note this code requires modifications.

    Hope this helps.
    Thank you.

    When i do this, only the author schema on the homepage will be removed, right? I want the author schema in the articles to remain.

    Hello,

    Thank you for the update.

    For the filter to be applied only to your homepage, please try this filter:

    add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
    if ( is_home() && isset($entity[author])){
    unset($entity[author]);
    return $entity;
    }
     return $entity;
    });

    I hope this helps.

    Thank you, and looking forward to your update.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

The ticket ‘Person schema appears in the organization schema in home page’ is closed to new replies.