Rank Math and Cloudflare Setup.

#889814
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the issues you are facing with Rank Math and Cloudflare. It seems like there might be some confusion regarding the settings needed to ensure that Rank Math works properly with your Cloudflare setup.

    To resolve the issue of Rank Math showing zeros on your WordPress dashboard, you need to create page rules in Cloudflare to whitelist specific Rank Math URLs. Here’s how you can do it:

    1. Create New Page Rule: Under the Rules tab in Cloudflare, click the Create Page Rule button.
      Create page rule in Cloudflare

    2. Enter the URL Paths: In the field “If the URL matches”, enter the following paths (make sure to replace example.com with your actual domain name):

      *example.com/wp-json/rankmath/v1/updateMeta*
      *example.com/wp-json/rankmath/v1/updateSchemas*
      *example.com/wp-json/rankmath/v1/updateRedirection*
      *example.com/wp-json/rankmath/v1/getFeaturedImageId*
      *example.com/wp-json/rankmath/v1/getHead*

      Note that Cloudflare allows only one URL per page rule, so you will need to create separate rules for each of these paths.

    3. Set the Settings: In the field “Then the settings are”, choose Disable security as shown below:
      Whitelist Rank Math settings in Cloudflare

    4. Save and Deploy: After adding the necessary settings, click the Save and Deploy button.
      Save and deploy page rule in Cloudflare

    This should help you resolve the issue with Rank Math not saving your SEO metadata. If you continue to experience problems, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern, and we hope this helps you get everything set up correctly!

    Sources:
    Why Your SEO Title, Description & Focus Keyword Aren’t Being Saved » Rank Math

    Hello,

    Thank you for contacting Rank Math support, and sorry for the inconvenience this may have caused.

    If you are not seeing data in your analytics, you need to fetch fresh data from Google. This is a simple process that you can do by following the steps below:

    1. Head over to WP Dashboard > Rank Math > Tools & Status > Database Tools and click the Rebuild Index button. This is the first process before you will update the data manually.

    Ensure that you have enabled advanced mode to see the Database Tools tab.

    2. After that, head over to WordPress Dashboard > Rank Math > General Settings > Analytics tab, click the Delete Data button and then click the Update Data Manually

    3. This will start the new data fetch from Google. You can reload the page to see the notice related to the import process.

    4. Once the process is complete. Please re-check the Analytics page and all the data should be showing up correctly.

    Following the above steps should fix the issue.

    You can refer to this guide for reference: https://rankmath.com/kb/zero-search-traffic-error/

    However, if it does not, please check if there is a pending Scheduled Action by heading over to WordPress dashboard > Tools > Scheduled Actions > Pending or you can try visiting the following URL:

    https://yourdomain.com/wp-admin/tools.php?page=action-scheduler&status=pending
    

    Then Run the rank_math/analytics/data_fetch scheduled action and wait for the data fetch to complete.

    This is how it should look like:

    Once done, please allow Rank Math a while to fetch data from Google and you should be able to see the updated data.

    You might see other actions that are scheduled to RUN as well, it is quite normal and you don’t have to worry.

    Let us know how that goes.

    Thank you.

    Thank you for your reply.
    Those steps don’t seem to work and I don’t have:
    “rank_math/analytics/data_fetch”

    Hello,

    It seems that you already marked this ticket as “Resolved”. Do you still need our assistance regarding this issue?

    Looking forward to helping you.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this ticket.