Schema Markup Author

#564369
  • Resolved Anonymous
    Rank Math free

    Hello,

    I’ve a personal website where i’m the only one author. I’ve created multiples articles and I just noticed the URL used into the schema author is is “/author/benoit”. Instead, I would like to have the @id and the URL with the following url mysite.com/about-me.

    Can you help me with some advices ? It would be time consuming if I have to rewrite every schema just for this.

    Kind Regards.

    Benoît


    I also noticed on my homepage the schema “Article” is present even if I didn’t use Rank Math for this webpage. Futhermore, I clicked on “None” as Schema type and It still presents. Also, I’ve to mention my pages are created as “Pages” in WordPress and not as “Articles”.

    Why and how i can remove it ?

    Thanks


    I also noticed on my homepage the schema “Article” is present even if I didn’t use Rank Math for this webpage. Futhermore, I clicked on “None” as Schema type and It still presents. Also, I’ve to mention my pages are created as “Pages” in WordPress and not as “Articles”.

    Why and how i can remove it ?

    Thanks


    I also noticed on my homepage the schema “Article” is present even if I didn’t use Rank Math for this webpage. Futhermore, I clicked on “None” as Schema type and It still presents. Also, I’ve to mention my pages are created as “Pages” in WordPress and not as “Articles”.

    Why and how i can remove it ?

    Thanks

Viewing 1 replies (of 1 total)
  • Hello,

    Thanks for contacting us and sorry for the inconvenience caused.

    You can use the following filter to change the ID and URL of the author property of the Article Schema:

    add_filter( "rank_math/snippet/rich_snippet_article_entity", function( $entity ) {
    	$entity['author']['@id'] = 'your-url';
    	$entity['author']['url'] = 'your-url';
     return $entity;
    });

    Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    And please make sure that the Schema type is set as None in WP Dashboard > Rank Math > Titles & Meta > Pages. If the issue persists, please edit the homepage and remove the Article Schema from the Schema tab of our plugin’s meta box.

    Let us know how that goes. Looking forward to helping you.

    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 1 replies (of 1 total)

The ticket ‘Schema Markup Author’ is closed to new replies.