Rank Math add comments into all HTML pages

#529626
  • Resolved Pasquale
    Rank Math free

    Dear support, I am writing to understand if it is normal for Rank Math to add some comments inside a <style media=”all”> tag in the <head> tag of all pages, after the meta name tags. These comments contain various information, including the child theme name, version, etc.
    You can see what I describe in the source code of the page http://www.stratyweb.com, below I report a part of the code in brief:

    <style media="all">/*! elementor-icons - v5.17.0 - 28-11-2022 */.....animation-timing-function:linear;animation-iteration-count:1}</style><style media="print">#wpadminbar{display:none}</style><style media="screen">html{margin-top:32px !important}@media screen and (max-width:782px){html{margin-top:46px !important}}</style>

    I look forward to your reply, greetings.

    Pasquale

Viewing 4 replies - 1 through 4 (of 4 total)
  • [–UPDATE–]
    The problem is caused by a conflict with the Autoptimize plugin. More precisely, when the setting in “CSS options”->”Aggregate CSS files” is active.
    Are there any recommended exclusions to avoid conflicts with Autoptimize?

    Hello,

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

    Autoptimize “CSS options”->”Aggregate CSS files” option will combine all of your CSS files into a single file. It’s a feature of plugin and Rank Math doesn’t outputs any CSS code within the page. As I can see the website is HTTP/2 protocol supported, hence, using Aggregate CSS won’t have much effect on the page speed.

    You can read more about it here: https://kinsta.com/blog/autoptimize-settings/#aggregate-css-files

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

    Thank You.

    Hi Sandeepan Kumar!
    Thanks for your reply and the resource you shared!

    Greetings.

    Pasquale

    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 ‘Rank Math add comments into all HTML pages’ is closed to new replies.