Clearing Cache Removes Meta Descriptions and Focus Keyword

#26721
  • Resolved Nicholas Dyer
    Rank Math free

    Hey Rank Math,

    Love your plugin but every time I clear cache, I lose my meta descriptions and focus keywords. Is there any way to fix this?

    I’m using Breeze Cache plugin.

    Update: I’m starting to think it’s not the cache. My latest post will not save meta description and focus keywords after I click the update button. The other posts have them saved but in the posts menu it shows “update your post”.

    I disabled my plugins and the problem still persists. I think it’s a new bug.

    Thanks

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

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Also, I tried disabling all of my plugins. Deleting Rank Math from my DB and fresh installing it. I still get the same issues.

    • This reply was modified 4 years, 3 months ago by Nicholas Dyer.

    Hello,

    Thank you for contacting Rank Math today.

    I cannot seem to reproduce this error on your site after clearing your cache. Could you please walk me through the steps that I should take to reproduce the missing meta descriptions and focus keywords?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hey Michael, I fixed the problem. What was happening was that rank math was creating a post request to update Meta descriptions and Focus keywords.

    I found out that this request was returning a 500 error. I checked my server logs and it turns out that my I had a rewrite rule causing me this error:

    URI ‘/wp-json/rankmath/v1/updateMeta’ exceeded maximum length

    I use an uppercase to lowercase re-write rule for technical seo reasons and apparently it tries to rewrite your plugin post request.

    If you are using the following code in .htaccess, you’ll need to remove it:

    RewriteEngine On
    RewriteBase /

    # If there are caps, set HASCAPS to true and skip next rule
    RewriteRule [A-Z] – [E=HASCAPS:TRUE,S=1]

    # Skip this entire section if no uppercase letters in requested URL
    RewriteRule ![A-Z] – [S=28]

    # Replace single occurance of CAP with cap, then process next Rule.
    RewriteRule ^([^A]*)A(.*)$ $1a$2
    RewriteRule ^([^B]*)B(.*)$ $1b$2
    RewriteRule ^([^C]*)C(.*)$ $1c$2
    RewriteRule ^([^D]*)D(.*)$ $1d$2
    RewriteRule ^([^E]*)E(.*)$ $1e$2
    RewriteRule ^([^F]*)F(.*)$ $1f$2
    RewriteRule ^([^G]*)G(.*)$ $1g$2
    RewriteRule ^([^H]*)H(.*)$ $1h$2
    RewriteRule ^([^I]*)I(.*)$ $1i$2
    RewriteRule ^([^J]*)J(.*)$ $1j$2
    RewriteRule ^([^K]*)K(.*)$ $1k$2
    RewriteRule ^([^L]*)L(.*)$ $1l$2
    RewriteRule ^([^M]*)M(.*)$ $1m$2
    RewriteRule ^([^N]*)N(.*)$ $1n$2
    RewriteRule ^([^O]*)O(.*)$ $1o$2
    RewriteRule ^([^P]*)P(.*)$ $1p$2
    RewriteRule ^([^Q]*)Q(.*)$ $1q$2
    RewriteRule ^([^R]*)R(.*)$ $1r$2
    RewriteRule ^([^S]*)S(.*)$ $1s$2
    RewriteRule ^([^T]*)T(.*)$ $1t$2
    RewriteRule ^([^U]*)U(.*)$ $1u$2
    RewriteRule ^([^V]*)V(.*)$ $1v$2
    RewriteRule ^([^W]*)W(.*)$ $1w$2
    RewriteRule ^([^X]*)X(.*)$ $1x$2
    RewriteRule ^([^Y]*)Y(.*)$ $1y$2
    RewriteRule ^([^Z]*)Z(.*)$ $1z$2

    # If there are any uppercase letters, restart at very first RewriteRule in file.
    RewriteRule [A-Z] – [N]

    RewriteCond %{ENV:HASCAPS} TRUE
    RewriteRule ^/?(.*) /$1 [R=301,L]

    Thanks

    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/?rate=5#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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Clearing Cache Removes Meta Descriptions and Focus Keyword’ is closed to new replies.