API URL

#846975
  • Resolved Csskiller
    Rank Math free

    Hi, i am trying to modify the REST ENDPOINT URL ( default is /wp-json/rankmath/v1/getHead ) to wp/wp-json/rankmath/v1/getHead, but, how can i do it ?

    For sitemaps, there was not any problem, i use this filter :
    add_filter( ‘rank_math/sitemap/base_url’

    Is there something similar to this for the endpoint?

    Thanks!

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

    We apologize for the issue you are facing. Currently, there is no filter available in Rank Math to modify the REST API endpoint URL like you can for the sitemap base URL. The default endpoint for the Rank Math REST API is fixed as /wp-json/rankmath/v1/getHead.

    If you have further questions or need assistance with this, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further.

    Thank you for raising your concern!

    Hello,

    Thank you so much for getting in touch.

    At the moment, we don’t have any way to modify the API endpoint URL as it is currently hardcoded to the plugin.

    As for the sitemap URL, you are able to change the URL because we offer a filter code to make it possible.

    Looking forward to helping you.

    This will be really helpful.
    Any chance to add this on a update?

    Hello,

    We will take your suggestions into account for future enhancements to improve the user experience and functionality of Rank Math. If you have any more ideas or feedback, feel free to share them with us.

    Thank you once again for reaching out and sharing your thoughts with us.

    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 4 replies - 1 through 4 (of 4 total)

The ticket ‘API URL’ is closed to new replies.