Creating new user agent

#135741
  • Resolved James Carr
    Rank Math free

    Hi,

    Firstly thank you for your amazing plugin, it’s been a great help to me.

    I am contacting you as I saw in one of your posts that “If you are running W3 Total Cache along with Rank Math on your website, make sure you create another user agent group and add the ‘googlebot’ user agent to it.”
    I am currently running w3 total cache with Rankmath but have no idea how to create a new user agent group and how to add the Googlebot user agent to it.

    Do you please have a tutorial on how to do it?

    Many thanks

    James

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

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

    You need to add this code:

    sitemap(_index)?\.xml(\.gz)?
    [a-z0-9_\-]*sitemap[a-z0-9_\-]*\.(xml|xsl|html)(\.gz)?
    ([a-z0-9_\-]*)?\.xml

    to the following W3 Total Cache settings:
    1. Performance > Database Caching > Never Cache the Following Pages
    2. Performance > Minify > Never minify the following Pages

    For a more detailed guide, you may follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/#w3-total-cache

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi Jeremy,

    Many thanks for your help. I followed your advice and added the code.

    Can you just please confirm why it’s necessary to create another user agent group and add the ‘googlebot’ user agent to it ? Is it because this can cause W3 total cache or Rankmath to malfucntion? Does it cause issues with Google ? Will the plugins not function without it correctly…?

    Many thanks

    James

    Hello,

    Excluding bots makes sure that when Google crawls your site related pages, which includes your sitemap, it doesn’t get to crawl the cached version but the current existing version on your domain.

    Hope this clears this issue.

    Hi Michael,

    Many thanks, makes perfect sense.

    Anas
    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.

    Hi Anas,

    Many thanks and I will of course leave you a review.

    I do have another question which I posted in a separate forum topic

    Best wishes

    James

    Hello,

    We are closing this ticket due to inactivity.

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

The ticket ‘Creating new user agent’ is closed to new replies.