Hello,
We apologize for the issue you are facing with the Rank Math API. It seems that you have enabled Headless CMS support, but you’re not receiving a response from the API endpoint.
Here are a few steps you can take to troubleshoot this issue:
-
Check Firewall Settings: Ensure that your firewall is not blocking access to the Rank Math REST API endpoint. You may need to whitelist the following endpoint:
https://your-domain.com/wp-json/rankmath/v1/getHead?url=https://your-domain.com/hello-world
-
Verify URL Format: Make sure that the URL you are passing in the API request is complete and correctly formatted. The URL should be a full URL, not just a slug. For example:
https://your-domain.com/wp-json/rankmath/v1/getHead?url=https://your-domain.com/hello-world?url=https://api.eligocs.com/usa/web-development-services
-
Enable Debugging: If you continue to experience issues, consider enabling debugging in your WordPress installation to see if any errors are being logged that could provide more insight into the problem.
-
Check for Errors: If you receive an error message, it could indicate specific issues such as "No Route Was Found Matching the URL and Request Method" or "Invalid Parameter(s) URL". Make sure to check for these common errors and follow the troubleshooting steps outlined in our documentation.
If you still encounter issues after trying these steps, please reply to this ticket with any error messages you are receiving, and a human agent from the Rank Math Support team will assist you further.
Sources:
How to Enable Headless CMS Support in Rank Math? » Rank Math
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
We have replied to your ticket here to address the same issue. Please check.
We will now close this ticket to avoid duplication of replies.
Loolking forward to helping you there.
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.