As “same as” to person mark-up

#83288
  • Resolved Ben Morrow
    Rank Math free

    I run several different websites and I want to link the authorship to increase E-A-T. Would the correct way to do this be

    – As an author profile page with “person” markeup on each site
    – Add “same as” with URLs to each author page on each site

    If so, there does not seem to be a place to put the “same as” field in the markup, just address etc. How can I add same as?

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

    You can set your sites to person in Rank math > Titles & Meta > Local SEO then customize the following filter with your sameAs URLs and add it to your active theme functions.php:
    img

    
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if ( isset( $data['Person'] ) ) {
            $data['Person']['sameAs'] = ['https://twitter.com/RankMath', 'https://facebook.com/Rankmath'];
        }
        return $data;
    }, 99, 2 );
    

    Looking forward to helping you. Thank 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 ‘As “same as” to person mark-up’ is closed to new replies.