buld edit product in description

  • hello
    i wanna know that is there a way that we can bulk insert product title in description (which is good for seo points), assuming that i have a large inventory of above 500 products

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

    Thank you for contacting Rank Math support today and bringing your concern to our attention.

    You can simply edit the product’s meta description on the product list page although you are still modifying it individually: https://i.rankmath.com/3o1Cmf

    Alternatively, you can make use of our filter to modify the product description in one go. Please refer to this filter code I made:

    add_filter( 'rank_math/frontend/description', function( $description ) {
    		return $description;
    	$title = get_the_title( wc_get_product()->get_id() );
    	return $title . ' ' . $description;

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

    thanks for your reply, but actually I want to bulk insert my different product names in product description (H1 Heading), and all products are of different names, is there any quick way to do it?
    and my other question is that how can i quickly or in bulk add product name(which are all different) in image alt text


    1. It seems like you do not want the product name in the meta description, instead, you want it in the H1 heading. Unfortunately, as we’re an SEO plugin, we do not have control over the headings on the front end of the website. This is primarily controlled by your theme.

    You can reach out to your theme developers and they would be able to render the product name in an H1 heading.

    2. To add the product name/title as ALT text of the images, please head over to your WordPress admin area > Rank Math > General Settings > Images, and enable the Add missing ALT attributes option: https://rankmath.com/kb/image-seo/#missing-alt-attributes

    Then, add %title% in the Alt attribute format and see if you get the desired output: https://rankmath.com/kb/image-seo/#image-alt-attribute-format

    Please note that the above option only works when the images are:
    1. Missing the ALT texts
    2. Stored on the website
    3. Present in the WordPress editor area

    Hope this helps and please feel free to let us know if you have any questions.

    Thank you.

    thanks a lot bro


    We are super happy that we could address your concern. If you have any other questions in the future, know that we are here to help you.

    You can leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    If you 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 5 replies - 1 through 5 (of 5 total)

The ticket ‘buld edit product in description’ is closed to new replies.