rank-math script loading frontend

#313652
  • Resolved Ron B Palmer
    Rank Math free

    I see the following script being enqueued onto my pages, rank-math. Why is this loading? What is it doing? can I safely dequeue it?

    I’m confused because your documentation claims that rankmath loads noting on the frontend, yet it is undeniably loading this script.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    If you are referring to this file rank-math.js, that script is only loaded if an admin is logged in. You can check if the script is loaded in an incognito browser.

    If you do see the script even without any user logged in, that script/s are for the few selected functionalities that we have to display data in the frontend, such is the case of the SEO score that you can show on your pages if you so wish, we can also add the star ratings if you use the appropriate Schema and add the shortcode for that on your page.

    Here’s an example of one these functionalities mentioned above (SEO score in the frontend):
    SEO Score

    If you are no using any of these sorts of functionality it’s perfectly safe to disable those files and they shouldn’t cause any issues as the core functionality and what really drives the SEO is not hindered by those files.

    ​​​​​​Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘rank-math script loading frontend’ is closed to new replies.