Meta description for categories

#177764
  • Resolved Arnas
    Rank Math free

    Hi,
    I wrote descriptions for every category (of custom CPT). RankMath shows snippet preview with that description, but in reality, Google and Facebook shows my website’s main page’s meta description for these categories. How do I fix this?

    Thank you.

Viewing 15 replies - 1 through 15 (of 33 total)
  • Hello,

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

    I’ve checked the affected URL, and it seems that the meta description is already set in the page’s source code. You can also check using these tools:
    https://www.heymeta.com/
    https://smallseotools.com/meta-tags-analyzer/

    In this case, proceed to check whether Google has picked up on the changes. You can check this link for more information:
    https://rankmath.com/kb/different-meta-title-and-description/#4-the-latest-version-of-your-page-hasnt-been-indexed

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Arnas
    Rank Math free

    Hi,
    Thank you for your fast reply! Yea, looks like it’s everything OK with Google. But the problem persists with Facebook. I just scrapped that URL with Sharing Debugger and it shows the default website’s meta description.

    Regards,
    Arnas

    Hello,

    Upon further checking your website, it looks like you have 2 different meta descriptions. Please see this video screencast: https://i.rankmath.com/8ziMEv

    You may need to check if there’s any other plugin or your current theme in your website that is generating another meta description. You may follow this handy troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    We are looking forward to helping you.

    Arnas
    Rank Math free

    Hello,

    Looks like RM is overriding theme’s description. Why RM pulls homepage’s description for categories? How do I fix this?

    Thank you.

    Hello,

    Thanks for getting back.

    It looks like your theme is overriding Rank Math’s meta description.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Arnas
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us,

    I have just checked your website and noticed that the custom post type here is the shop listings. Could you please verify if you are using another plugin creating meta descriptions. I have just noticed that you have double meta descriptions which could be causing this conflict. See this screenshot: https://i.rankmath.com/jKCa2b.

    The second one seems to be the correct one in this case. Also, it is possible that your theme could be doing this. Try installing a default WP theme and view the page source to verify if there are two meta descriptions.

    Looking forward to helping you.

    Arnas
    Rank Math free

    Hi,

    Yes, I believe theme is creating meta descriptions for custom CPT’s categories. I can’t switch theme as my website relies on this theme. I would loose all listing’s if I change theme. Is it possible to turn off RM for these categories?

    Regards

    Hello,

    Thank you for the follow-up.

    In this case, you can get in touch with your theme author/developer to disable the generated meta description for your CPTs.

    Is it possible to turn off RM for these categories?

    If you’re referring to disabling Rank Math generated meta description from your CPTs, you can use and customize this filter to achieve that:
    https://rankmath.com/kb/filters-hooks-api-developer/#change-meta-description

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Arnas
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Arnas
    Rank Math free

    Hi,

    I updated sensitive information with 2 screenshots.
    Looks like RankMath pulls the wrong description. It pulls descriptions of the main CPT and not from CPT’s categories. Is there any setting to change this?

    I can’t ask for theme authors to disable meta generated by the theme because it’s the correct meta and RankMath generates the wrong meta data.

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    Indeed your site here creates another meta description. Having two meta descriptions on the same page is not recommended as you will only end up confusing search engines.

    However it does seem like Rank Math is still not able to read the correct description here due to the way the custom taxonomies have been set up in your theme here.

    You could also create a staging site with WP-Staging to temporarily check if this is being caused by a conflict. I have tried checking with the health check plugin but it keeps disabling the back end.

    If you wish to change the meta description please use the code provided by my colleague in the previous reply.

    We are looking forward to helping you again.

    Arnas
    Rank Math free

    Hello,

    I tried to change the theme to twenty nineteen, but then I can’t access to custom CPT’s taxonomies as it is created by the theme.

    https://ibb.co/JywQTts

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    I have just made tests with the theme on my end and the description is still recognized on my end. Also, it does not create additional meta descriptions out of the box. Could you kindly create a staging test here so that we can perform more testing on your site to identify what could be causing this?

    Or perhaps there could be some settings you have enabled within the theme to add these metas. You can contact them on how to turn it off as well.

    We are looking forward to helping you.
    Thank you.

    Arnas
    Rank Math free

    Hello,

    I just added this code snippet:

    add_action( 'init', function() {
        remove_action( 'wp_head', [ mylisting()->sharer(), 'add_opengraph_tags' ], 6 );
    } );

    I was told to do this by my theme authors. But looks like metadata is still duplicated on my end.

    I created a staging site for you. Thank you.

Viewing 15 replies - 1 through 15 (of 33 total)

The ticket ‘Meta description for categories’ is closed to new replies.