Schema > Publisher > Name

#314641
  • Resolved Chris Sabian
    Rank Math free

    When using schema and the name of the publisher is output in the rich results, it’s pulling in the username of the WordPress profile.

    Is there any way to instead output the “display name publicly as” value instead?

    Alternative it there any way to disable the Publisher > Name schema and only use the product review scheme values given I’m using Molongui Authorship Pro which should generate the appropriate schema for multiple authors on the same page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us.

    By default, we already use the value of the “Display name publically as” field in the related schemas. I checked the page and the required name is already present in the schema.

    However, the name mic****.per in the schema seems to be coming from your WordPress admin area > Rank Math > Titles & Meta > Local SEO > Name.

    Please modify the above field as per your requirement and see if that updates the schema.

    Let us know how that goes.

    Thank you.

    Excellent, that’s done the trick.

    Just beyond that solution, is there any way to disable the author featured within Rank Math given the Molongui Authorship Pro plugin should (within theory) be generating the appropriate author information, especially where multiple authors on a post are concerned.

    Hello,

    I checked your product and wasn’t able to detect any author Schema from your other plugin. However, you can use the filter given below to remove the publisher data from the Schema:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( is_product() ) {
    		unset( $data['publisher']);
    	}
    	return $data;
    }, 99, 2);

    Hope this helps. Let us know if you need any other assistance.

    Thanks.

    Hi,

    Thanks for the recommendation. Prior to making that change though I have updated the Local SEO details to reflect the author name.

    On doing this (for the same previously mentioned post) I get:

    1) 5 optional warnings on the Products schema
    2) 1 error on the due to “Missing field author”

    screenshot

    Can you advise on how to correct the missing field author given this is a required value?

    Hello,

    The author part comes from the Person Schema that our plugin generates on the website when the author archives are enabled.

    If you don’t have this option enabled there won’t be a correct Person Schema and the makeup that relies on those will fail unless you add it manually with the Schema Templates (PRO feature) or filters.

    In case you want to enable this, please head over to WordPress Dashboard > Rank Math > Titles & Meta > Authors.

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

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

The ticket ‘Schema > Publisher > Name’ is closed to new replies.