• By this plugin, I am receiving a 404 error in ahrefs.com

    <img id=”chp-ads-image” src=”images/ads.jpg” height=”250″ width=”300″

    In ahrefs.com first, my site Health Score was 98 and after installing this plugin my site Health Score now shows only 34.

    The page has broken image (Added 562 in ahrefs)
    Example:
    HTTP status code
    404 Not found
    https://www.mysite.com/category/images/ads.jpg

    Please let me know how to fix
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Suresh Chand

    (@sureshchand12a)

    You can disable image request using following code:
    To Disable the Image Ads Request
    Please add following code to active theme’s functions.php file. This will disable the image request generated by plugin. This will solve your issue.

    /**
     * Filter to disable image ads request
     * 
     * @param array $enable
     */
    
     add_filter( 'adb/checkby/imageads', function($enable){
            return false;
     });

    For more, Please check our documentation.

    Thread Starter S o f t f u l l y

    (@softfully)

    Thank you for this Code and I will test this later because yet I have uninstalled this plugin because after two-three days it suddenly stopped working. The first time was worked very well in Brave Browser but after two-three days I again checked in Brave Browser and then ads were blocking and still, there were not any kind of messages like “We have detected that you are using extensions to block ads“.

    I don’t know why this plugin suddenly stopped working and I have just tested it in Brave Browser only.

    Thanks for the reply.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin causes ahrefs crawl’ is closed to new replies.