Unable to update meta title and meta description

#919831
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

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

    We checked your website and found two following issues:

    1. Rank Math REST Routes that we use to update the data are being blocked by your Wordfence firewall.

    In order to resolve this issue, please try whitelisting the following Rank Math REST Routes that are being blocked on your firewall.

    /wp-json/rankmath/v1/updateMeta
    /wp-json/rankmath/v1/updateSchemas
    /wp-json/rankmath/v1/updateRedirection
    

    You may try following this link to learn how you can whitelist Rank Math REST Routes in Wordfence Firewall: https://rankmath.com/kb/whitelist-rank-math-in-wordfence/

    2. It seems like you have a redirection on this website that adds a trailing slash to all URLs and that is being triggered in the API routes as well.

    That should not be applied to REST API routes but only to the pages and posts of the website. Otherwise, the functionality of the plugin might not work as intended.

    To fix this, adding the condition line RewriteCond %{REQUEST_URI} !^/wp-json (exclude wp-json URLs) to your trailing slash redirect rule should work, The edited redirect will look similar to the one below:

    #Add Trailing slash for end of the URL
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !^/wp-json
    RewriteRule ^(.*[^/])$ /$1/ [L,R]
    

    If you’re not sure, then you can get in touch with your hosting provider to do that for you.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Okay let us try the above suggestion.

    Hello,

    Sure, let us know how this goes.

    Meanwhile, if you have any other concerns, please don’t hesitate to contact us anytime so we can assist you further.

    Looking forward to helping you.

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

The ticket ‘Unable to update meta title and meta description’ is closed to new replies.