Categories
CMS Mastering Development Wordpress

Disable Adsense ad code in 404 deleted posts and pages

recently I got deleted some of older posts, now AdSense crawler throws a continuous error so that I used a code to block AdSense on 404 pages, I found an online solution, The php-code snippet which hides/blocks Adsense ads on 404’s is: ADD HERE YOUR ADSENSE CODE Note: the logic of the code is to […]