how to let the seo description longer than 160 characters.

#311360
  • Resolved Husan Luo
    Rank Math free

    how to let the seo description longer than 160 characters.
    i try to modify plugins\seo-by-rank-math\includes\replace-variables\class-term-variables.php
    change 160 to 190,
    and add function to functions.php add_filter( ‘rank_math/frontend/description’, function( $description ) { return mb_substr($description, 0, 190 ); });,
    nothing works
    the meta description in front html source code still cut off my meta description to 160 characters.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chandni
    Rank Math free

    Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    The ideal length for a meta description is 160 characters. Google generally truncates them to ~ 155–160 characters. It’s a good practice to keep meta descriptions long enough, but not exceeding 160 characters so that they’re descriptive and hence we recommend writing meta descriptions between 50-160 characters.

    That being said, you can always enter any number of characters that you wish in the SEO meta description.

    Please note, it depends on Google to show the entire meta description or not, depending on the width of the description.

    Here is a detailed article, that might help you understand this topic better:
    https://seopressor.com/blog/google-title-meta-descriptions-length/

    We hope this information helps. Please let us know if you need help with anything else.

    Thank you

    Husan Luo
    Rank Math free

    how to let the seo description longer than 160 characters. my main question is this, I know it is better to use the SEO description under 160 characters, but some how some of my article need more than 160 characters, but your plugin just cut off my SEO description under 160 characters.

    Azib Yaqoob
    Rank Math business

    Hello,

    Thanks for your reply.

    We only give the suggestion as per Google’s guidelines to keep the Meta Description length up to 160 characters, but you can always enter any number of characters that you wish.

    Please have a look at this screencast for a quick reference: https://i.rankmath.com/IZzulp

    Also, you can use variables like %wc_shortdesc% (product short description). Here’s a screencast regarding the same: https://i.rankmath.com/hUk4cp

    Hope this helps.

    Thanks.

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

The ticket ‘how to let the seo description longer than 160 characters.’ is closed to new replies.