Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30905
    muzaffer.citir
    Guest

    Hello, 

    W3 Total Cache plugin deletes double-quotes mark from scripts in HTML. Therefore, I have problem to verify my adsense code. Even if I added my adsense code into HTML, the plugin deletes double quotes marks. Therefore, google did not verify my AdSense code. Then I disable the plugin, then google could verify my code. (Because when I active plugin, it deletes double-quotes mark from HTML) 

    For example:

    When plugin is disabled:     <script data-ad-client=”ca-pub-8

    When it is enabled:                 <script data-ad-client=ca-pub-8

    Therefore, Google AdSense says, you changed the code. 

    Please help me to disable only minify of these codes.  I tried advice at the link:  https://wordpress.org/support/topic/html-minify-removes-double-quotes-from-html/

    But it did not work. I want to use your plugin but if I can not solve the problem I can not use it. 

    #30907
    support
    Guest

    Thank you for contacting us.

    Sorry to hear about the problems with your Google AdSense code, our team is happy to help in any way we can.

    The best way to get your code to function correctly is turn off HTML minification in your W3TC settings, this will prevent those quotes from getting removed accidentally.  If you have another minification solution, like Autoptimize active then that could also be another potential reason why this is not working as expected.

    Hopefully turning off HTML minification works for you and please let us know if there is anything else that we can do to help.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘ignore deleting of double quotes from HTMl (minify)’ is closed to new replies.