wp-json/rankmath/v1/saveModule is redirected to the home page

#316369
  • Resolved Mj
    Rank Math free

    Hi everyone,
    trust you are good.

    As per object, I cannot save meta title and meta description any more. After an analysis, I saw that the reason is because the URL “wp-json/rankmath/v1/saveModule” is 301 redirected to my home page.

    I can visit the virtual folder wp-json and wp-json/rankmath/, but both the virtual folders “v1” and “saveModule” are being redirected to my home page.

    This is from 10 days or so, and I don’t know why.

    Any hint?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting us and we regret the inconvenience caused.

    If you have a firewall enabled on the website, please whitelist the below routes and see if that fixes the issue:

    /wp-json/rankmath/v1/updateMeta
    /wp-json/rankmath/v1/saveModule

    Also, please whitelist the routes mentioned in this guide to avoid similar issues for other sections of the plugin: https://rankmath.com/kb/meta-data-not-saving/#firewall

    If the issue persists, please take a backup of your .htaccess file and replace it with the default WordPress .htaccess file. You can get the file contents from here: https://wordpress.org/support/article/htaccess/

    You can follow this guide to edit the .htaccess with Rank Math:
    https://rankmath.com/kb/edit-htaccess/

    Once done, please clear your website and browser’s cache and see if the issue is fixed.

    Let us know how that goes.

    Thank you.

    Mj
    Rank Math free

    Hi, sorry for late reply.
    Thanks for suggestion, I’ll give a try and update the thread.

    Mj
    Rank Math free

    Hi again, that worked for me! Thanks!

    Azib Yaqoob
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘wp-json/rankmath/v1/saveModule is redirected to the home page’ is closed to new replies.