Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I have checked several posts and the meta descriptions seem to be working as expected. Could you please perform another import so that we can test this further?
Please note that you can also force your posts to pick up the global settings by heading over to Rank Math > Titles & Meta > Listings and hit save.
Looking forward to helping you. Thank you.
ok
* 9 se 11 in Patna is Top Restaurants. Best Restaurants in Patna. Also Known for Biryani Restaurants, Chinese Restaurants, Continental Restaurants, Fried Chicken (before)
9 se 11 in Patna is Top Restaurants. Best Restaurants in Patna. Also Known for Biryani Restaurants, Chinese Restaurants, Continental Restaurants, Fried Chicken Restaurants, Indian Restaurants, North Indian Restaurants, South Indian Restaurants, Tandoori Restaurants. (after pasting the global meta)
https://www.loom.com/share/8b10d38293af4b81865e10cea9e53a65
i hope You will understand my problem
HI Suvidha,
Thanks for the reply.
I think that I’ve now been able to understand your problem.
Google recommends that the meta description should be 155 – 160 characters since this is what will be displayed on the SERP.
This is the reason the auto generated description is trimmed to 160 characters when a manual description has not been set.
Please note that adding all the listings tags will not do much to improve your SEO since these will not be displayed on the SERP if the characters are more than 160.
I hope this info helps. Thank you.
Please note that adding all the listings tags will not do much to improve your SEO since these will not be displayed on the SERP if the characters are more than 160.
I Know, but when it saves manually all characters come..
I want it without manual. plz help in this caser.
Hi there,
Thanks for the reply.
You will need to write some code to create a custom meta description for the frontend by using the following code snippet:
/**
* Allow changing the meta description sentence from within the theme.
*
* @param string $description The description sentence.
*/
add_filter( 'rank_math/frontend/description', function( $description ) {
global $post;
$desc = RankMath\Helper::get_settings( "titles.pt_{$post->post_type}_description" );
if ( $desc && is_singular('listing')) {
return RankMath\Helper::replace_vars( $desc, $post );
}
return $description;
});
I hope this info helps.
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.