How to automatically set Yoast meta description like the source using WordPress Automatic

WordPress automatic plugin can import the content from almost any website. If you want to grab the SEO meta description as well and set it to Yoast plugin, the plugin can do so by extracting this part of the content using REGEX and setting it in the matching Yoast field

Just activate this option

 

Copy the exact rule from here https://pastebin.com/4AXpEChP

 

regex|<meta name=”description” content=”(.*?)”|_yoast_wpseo_metadesc

 

TIP: If you are using Rank Math, the field name is rank_math_description so just use it instead of _yoast_wpseo_metadesc

 

Leave a Reply

Your email address will not be published. Required fields are marked *