Unable to edit Meta Tags using Rankmath Plugin

#1030753
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.

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

    This redirection 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.

    Okay let me check with my developer team. I will ask them to follow your steps.

    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 edit Meta Tags using Rankmath Plugin’ is closed to new replies.