rich snippets does not work

#132714
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.

    Could you provide the URL/s where the Organization doesn’t appear in your schema? Please also confirm if you have already enabled the Local SEO & Knowledge Graph in the Rank Math dashboard and filled up the information in Rank Math > Titles & Meta > Local SEO.

    You can also use this tool to check for any issue with your schema setup:
    https://search.google.com/test/rich-results

    I hope that helps. Thank you, and looking forward to your update.

    Thank you for your reply.
    I would like it appears for the url “beautyrealm.vn”. Here are the captured images about your questions:
    https://beautyrealm.vn/wp-content/uploads/2021/01/rankmath-local-SEO-and-knowledge-graph-settings.jpg
    https://beautyrealm.vn/wp-content/uploads/2021/01/Google-structured-data-result.jpg
    Please have a look at them and tell me what should I do with it. Thank you

    Hello,

    Thank you for following up.

    I’ve checked your site, and it seems that the Organization details were already added to your schema.
    Organization Schema

    If you wanted to display the Organization, you could use this shortcode to your pages/posts.
    [rank_math_contact_info]

    Here’s a video screencast for your reference:
    https://i.rankmath.com/pwHU8S

    If the issue persists, could you please record a video screencast using a tool like Loom showing the issue and edit the first post on this ticket in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    I hope that helps. Thank you, and looking forward to your update.

    Sorry, I missed a word in the sentence:
    “Actually, I put the following code into functions.php and it does seem to work:” –>
    “Actually, I put the following code into functions.php and it does not seem to work:”

    Hello,

    Thank you for keeping in touch with us.

    That function will modify the SameAs property of the Organization type schema. If you intended to do that, this is the code I fixed for you:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( isset( $data['publisher'] ) ) {
    		$data['publisher']['sameAs'] = [
    			'https://about.me/beautyrealm',
    			'https://beautyrealm.myportfolio.com',
    			'https://twitter.com/BeautyRealm_vn',
    			'https://www.youtube.com/beautyrealm',
    			'https://www.facebook.com/beautyrealm.vietnam',
    			'https://www.pinterest.com/beautyrealm_vn',
    			'https://www.instagram.com/beautyrealm.vn',
    			'https://www.linkedin.com/in/beautyrealm',
    			'https://vimeo.com/beautyrealm',
    			'https://beautyrealm.tumblr.com',
    			'https://www.flickr.com/beautyrealm',
    			'https://www.diigo.com/profile/beautyrealm',
    			'https://trello.com/beautyrealm',
    			'https://www.reddit.com/user/beautyrealm',
    			'https://myspace.com/beauty.realm',
    			'https://soundcloud.com/beautyrealm',
    			'https://www.twitch.tv/beautyrealm_vn',
    			'https://www.patreon.com/beautyrealm',
    			'https://flipboard.com/@BeautyRealm',
    			'https://www.behance.net/beautyrealm_vn',
    			'https://www.storeboard.com/beautyrealm',
    			'https://www.figma.com/@beautyrealm',
    			'https://www.slideserve.com/beautyrealm',
    			'https://dribbble.com/beautyrealm',
    			'https://issuu.com/beautyrealm',
    			'https://beautyrealm.medium.com',
    			'https://www.skillshare.com/beautyrealm',
    			'https://500px.com/p/beautyrealm',
    			'https://www.flipsnack.com/beautyrealm',
    			'https://beautyrealm.shutterfly.com',
    			'https://hubpages.com/@beautyrealm',
    			'https://www.edocr.com/user/beautyrealm'
    		];
    	}
    	return $data;
    }, 99, 2 );

    It will work only when publisher Schema is used.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you very much. Can you explain what you mean when you say “It will work only when publisher Schema is used”. I am using your codes but I still cannot find those ‘sameAs’ in the ‘publisher’.

    Hello,

    Thank you for keeping in touch with us.

    Publisher schema will be used if you add your organization details. To modify this you can head over to Rank math > Titles & Meta > Local SEO and set your organization name to what you wish to be displayed as the article publisher.

    After that, the code should surely add those sameAs values.

    Let me know how it goes. Thank you.

    Yes thank you very much. There seems to be a little delay for the codes to take effect after settings. Today, it works well already. All those sameAs appears now.
    Have a nice day!

    Danial
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘rich snippets does not work’ is closed to new replies.