• The ImageKit plugin is appending <!–Array ( ) –> to the robots.txt page when the ImageKit plugin is enabled. Disabling the plugin removes it. Please address this ASAP. Thanks!

    Example:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    
    Sitemap: https://www.example.com/sitemap_index.xml
    <!--Array
    (
    )
    -->

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Bumping this question. We are experiencing the same issue breaking our robots.txt parsing.

    @www404 I don’t know how good you are with code.

    But i just dived into the plugin and found out where the <!– Array() –> is coming from.

    If you navigate to the following file in the plug-in: (You can use FTP or on the left in the sidebar go to the plugin editor)
    includes/ImageKitReWriter.php

    You can comment out line 171. (Place two // in front of it like this
    // $buffer = ImageKitHelper::print_debug_logs($buffer);

    This seems to resolve it for now until ImageKit removed it themselves in a future update.

    Hope this helps!

    Plugin Author imagekit

    (@imagekit)

    Hi

    A fix is being worked on. It will be live soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘In robots.txt!’ is closed to new replies.