Hello,
I apologize for the issue you are facing with Rank Math not recognizing the content from custom fields created using ACF. To ensure Rank Math can read data from custom fields created with ACF, please follow these steps:
-
Install and Activate Advanced Custom Fields Plugin: If you haven’t already, install and activate the Advanced Custom Fields plugin. You can find detailed instructions on how to do this in our knowledge base article here.
-
Enable the ACF Module in Rank Math: After installing and activating the ACF plugin, make sure to enable the ACF module in Rank Math. You can do this by navigating to WordPress Dashboard → Rank Math SEO → Dashboard. Detailed steps with screenshots are available here.
-
Create a Custom Field: Next, create a custom field in ACF. You can find detailed instructions on how to create a custom field in our knowledge base article here.
-
Include the Custom Field Value in Your SEO Metadata: Once you have created the custom field, navigate to the post editing screen where you want to add the custom field value. Copy the variable %customfield(FIELD_NAME)%
and replace FIELD_NAME
with the actual Field Name you set. Detailed steps with screenshots are available here.
By following these steps, you should be able to integrate Rank Math with Advanced Custom Fields effectively, allowing Rank Math to read data from custom fields created using ACF. If you encounter any issues or have further questions, feel free to reach out to our dedicated support team here.
We appreciate your concern and thank you for bringing this to our attention.
Best regards.
Sources:
How to Use ACF Fields in Schema Generator » Rank Math
How to Integrate Rank Math With Advanced Custom Fields » Rank Math
Rank Math Content Analysis API for Theme & Plugin Developers
General Tab in Meta Box of Rank Math SEO Plugin
We tried and its not working. Can you please give us proper solution? ACF seema like not supporting to RankMath.
Hello,
Thank you for contacting Rank Math support.
Our plugin sees the content from the ACF fields as plain text and would not recognize the subheadings and images you are adding with the custom fields. The headings can only be recognized from the WYSIWYG Editor field type of ACF, which uses HTML tags when saving the post content in the database.
In this case, you will have to ignore the tests.
Please do not hesitate to let us know if you need our assistance with anything else.
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.