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 - 16 through 30 (of 33 total)
  • Hello,

    Thank you for keeping in touch with us.

    I did check the CPT and the duplicate meta description is still there. Can you please check this code you are trying to use with your theme author and see why it isn’t working?

    We are looking forward to helping you.

    Arnas
    Rank Math free

    I asked them, but they don’t work on Weekends.

    Why RankMath thinks that /el-parduotuves is canonical url? I did not set this anywhere.

    https://ibb.co/LvLxSsf

    I believe it’s the main reason why I get wrong meta description. How do I tell RankMath that el-parduotuves is not a canonical url?

    Thank you.

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us.

    Upon checking your site noticed that there are some issues with your site. First while working on your staging site there are some plugins you have enabled by default and can not be disabled. These are the likes of Elementor and WooCommerce.

    We need to troubleshoot all plugins to identify the root of this issue. While testing the theme from my end, I noticed that the theme does not allow Rank Math to add the canonical URL in the custom post type. Attached some screenshots, see sensitive data.

    This theme structure really seems to be having more than one issue when it comes to SEO friendliness. Could please liaise with the theme developers on this issue? Else check on any customizations you have made within your theme.

    Lastly, you inserted the code they shared with you on the child theme funtion.php file yet you are using the main theme. Please try doing so on the main theme’s function.php file and see if it has any effect.

    We are looking forward to hearing from you.
    Thank you.

    Arnas
    Rank Math free

    Hello,

    Woocommerce and elementor can’t be turned off with MyListing theme. Maybe because the website would crash as MyListing’s functions rely on Woocommerce and Elementor. If you want to deactivate Woocommerce and Elementor, switch the theme to Twenty-One, please.

    I wonder why everything is OK for the sample category you created.. Maybe because it is empty?

    Could you please point out specific issues with SEO friendliness of this theme? I’ll forward these to theme authors.

    I am using a child theme on my live website, I don’t know why the main theme is enabled on staging. I saw some more issues on staging which are not present on the live website. Maybe its because of licenses mismatch or something.

    Regards,
    Arnas

    Hello,

    Thanks for getting back to us.

    We have created a filter that should allow you to display the correct canonical on your pages and thus generating the correct description from Rank Math. However, without FTP access we can’t test the one because if it fails the website will be down.

    Could you please provide us with FTP access, so we can test the code and see if it produces the desired result?

    Alternatively, you can add the code yourself to the functions.php file of your theme, but be sure to have FTP access ready in case it fails and you need to delete it.

    Here’s the code:

    
    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
        if(is_singular('job_listing_category') || is_post_type_archive('job_listing_category')) {
            return $canonical;
        }
        return false;
    });
    

    Hope this helps solve your issue.

    Don’t hesitate to get in touch if you require any further assistance.

    Arnas
    Rank Math free

    Hello,

    I added that code to function.php, but RankMath still shows the wrong description on page source. Facebook sharing is fixed, but now problem is with Google.

    Thank you.

    Hello,

    Thanks for getting back to us.

    As far as Google is concerned even if you have the description exactly how you want it to be displayed on SERPs Google might use another completely different. You can read more about that here: https://rankmath.com/kb/different-meta-title-and-description/#why-google-might-choose-not-to-use-your-meta-description

    Hope this helps provide further insights.

    Don’t hesitate to get in touch if you require any further assistance.

    Arnas
    Rank Math free

    I mean RankMath still grabs wrong description (from another page). Please check sensite information for screenshot. Thank you.

    Hello,

    Thank you for the follow-up, and sorry for the delay.

    We wanted to further check the staging site, but the WordPress Dashboard is inaccessible.
    I’ve attached a screenshot in the sensitive data section.

    Could you please check?

    Thank you, and looking forward to your update.

    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,

    My theme authors removed the theme’s metadata completely. Now it’s only RankMath’s metadata on site, but it still doesn’t work as it should. I add my description to RankMath’s General TAB -> Description but RankMath ignores this and still shows random text on SERP (please check sensitive data for images). Same for Facebook sharing.

    I really love RM and want to buy PRO version but looks it is incompatible with MyListing theme :/

    Brian
    Rank Math free

    Hello,

    Thank you for getting back to us,

    Upon checking your staging site the theme still has additional meta descriptions as I can see from my end. Attached is a screenshot showing this in the sensitive data section.

    Your theme seems to be having trouble getting the canonical URLs as well.

    On my end, I installed the theme and it forcefully includes a no-index tag to the categories and hence there is no canonical URL. But Rank Math does get the correct meta description of that category.

    Your issue could also be caused by other plugins as well. Could you mind providing your FTP credentials so we can check if the meta description could be caused by one of your must-use plugins?

    We are looking forward to helping you.

    Thank you.

    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,

    New updates weren’t pushed to the staging site so you didn’t see that now theme’s meta is removed. I created new staging with the newest updates from theme authors (details in sensitive data).

    For FTP you can also use WP File Manager if you want.

    Thank you.

    Brian
    Rank Math free

    Hello,

    There seem to be some restrictions when accessing your hosting end as the FTP returns an error of “Connection timed out”. See screenshot: https://i.rankmath.com/cYG482.

    If you have any restrictions kindly consider lifting them or in case the credentials are wrong please update them so that we can check on this.

    This issue seems however to be mostly on your theme end. Perhaps checking more with the devs team would hasten the troubleshooting process.

    We are looking forward to helping you.
    Thank you.

Viewing 15 replies - 16 through 30 (of 33 total)

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