Infolinks Still Appearing In Areas With Off Tag

Infolinks LogoWanted to stop Infolinks from displaying on a specific section on your blog?

The <!--INFOLINKS_OFF--> tag is supposed to get the job done easily, but it doesn’t on my blog, no matter where I insert the tag. The in-text ad is still appearing at inappropriate section, such as the sidebar and comment section.

The culprit? W3 Total Cache.

With the HTML minifying feature enabled, all html comment tags is being removed, including the <!--INFOLINKS_OFF--> tag.

The good news is you don’t have to sacrifice the minifying feature just for the Infolinks off tag to work. Just simply include the tag in W3 Total Cache’s ignore list and W3TC will leave it alone.

You can do that via Performance > Minify > HTML > Ignored comment stems. Enter “INFOLINKS_OFF” in the list.

W3 Total Cache ignore Infolinks off tag comment

The off tag will now work as intended. Insert it in sections you want to keep clean and Infolinks will no longer show up. If you are not using W3 Total Cache, you might want to check if you have other plugin with similar HTML minifying feature.

#ads#blog#Infolinks#Monetizing#W3TC#WordPress

Comments

  1. plaban - January 6, 2011 @ 2:23 am

    How to use this trick to blogger?

    Reply

    Vincent replied:

    The off and on tags should work on Blogger without any tweaks like this. Just wrap your content with the tags and Infolinks should remain on just your article and nowhere else.

    Reply

  2. sirgames - March 28, 2011 @ 7:22 pm

    nice!

    Reply

  3. free coupons - May 13, 2012 @ 12:40 pm

    Perfect! Finally, Ive been able to configure the damn ads haha. Thanks man!

    Reply

  4. chy - June 21, 2012 @ 1:10 pm

    there are other sites protecting economical discount when compared to the sites who offer for sale these real Louis Vuitton Shoes. The situation however is that open public will marketplace a lv underneath fake manufacturers, maintaining it is genuine a lot more actuality this is a fake.

    Reply

  5. Finch - August 15, 2012 @ 10:33 pm

    whoa! thanks for this. So that’s why it doesn’t work anymore because I’m using W3TC. I wonder why it doesn’t work, the minify thing is the culprit. Thanks again for sharing! 😀

    Reply

  6. bludus - August 17, 2012 @ 1:11 am

    I used blogspot, and I can not implement this tag on off. I want infolink just appears in posting area. NOT in header sidebar and comment, Please help

    Reply

  7. ambarish - October 12, 2013 @ 4:24 am

    It didn’t work for my blog. Can you suggest? I am a blogger platform user and want to remove it from the sidebar.

    Reply

Leave a Reply

Your email address will not be published / Required fields are marked *