Meta Key Names (postmeta) for TITLE / DESCRIPTION / ETC.
-
Hi,
I’m exporting data from a CMS into WordPress. Using an API. I’m already importing content and setting the Featured Image by leveraging the data in the CMS and API (sets the featured image programmatically). I need to import stored SEO data in that CMS directly into the meta keys (“postmeta” table) used by RankMath for the following fields/meta HTML tags:
- meta TITLE
- opengraph Facebook image
- opengraph Twitter image
From doing some Google research, I know that the plugin refers to the “rank_math_description” meta key to populate the meta DESCRIPTION HTML tag for a blog post. However, I haven’t been able to find the other meta keys. Is there a page somewhere that, or could someone from RankMath support, tell me which meta keys the plugin refers to for populating the items in the bulletpoints?
Thank you.
-
This topic was modified 1 year, 5 months ago by
jholmesnoodle.
-
This topic was modified 1 year, 5 months ago by
jholmesnoodle.
-
Hello @jholmesnoodle,
Thank you so much for getting in touch.
This is the meta key we used to save the title and description for Rank Math:
rank_math_title
rank_math_description
If you wish to work with our social meta, you may refer to the meta keys below:
OpenGraph title:rank_math_facebook_title
OpenGraph description:rank_math_facebook_description
OpenGraph Image:rank_math_facebook_image
Twitter Title:
rank_math_twitter_title
Twitter Description:rank_math_twitter_description
Twitter Image:rank_math_facebook_image
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thanks!
Regarding the image meta keys (ex: “rank_math_facebook_image”), which values are stored: the image attachment URL, or the image attachment ID?
-
This reply was modified 1 year, 5 months ago by
jholmesnoodle.
Hello @jholmesnoodle,
That field stores the actual image URL on your WordPress installation.
Don’t hesitate to get in touch if you have any other questions.
-
This reply was modified 1 year, 5 months ago by
- The topic ‘Meta Key Names (postmeta) for TITLE / DESCRIPTION / ETC.’ is closed to new replies.