• Resolved Henk Barreveld

    (@henk-barreveld)


    Dear WPO-team,

    I noticed that <mydomain>/robots.txt contains the rule
    `Disallow: /uploads/wpo-plugins-tables-list.json’
    I did not check your code, but this line must come from the WP-Optimize plugin.

    However, I wonder if this “disallow”-rule is effective, because the file is not present at <mydomain>/uploads/wpo-plugins-tables-list.json, but at a slightly different location. This looks like a simple mistake…

    Thought you might want to be aware ??

    Best regards,
    Henk

Viewing 9 replies - 1 through 9 (of 9 total)
  • @henk-barreveld Thanks for reporting this, I’ll share the same with our development team.

    Hi team, same matter on my site, this rule: Disallow: /uploads/wpo-plugins-tables-list.json’ appears on my site on mydomain.com/robots.txt.

    Can you confirms it comes from your plugin and if it will be fixed in the next update?

    Thank you

    Yvan

    Thread Starter Henk Barreveld

    (@henk-barreveld)

    Hi @bornforphp, @yvandupuy,

    This issue is now marked as “resolved”. I wonder… Who did this and why? I just tested, it is still unchanged.

    Best regards,
    Henk

    @henk-barreveld

    Hi, let us wait the answer of the team, and let us hope for the best.

    Still unchanged from my side as well…

    Yvan

    same issue here Disallow: /uploads/wpo-plugins-tables-list.json

    Hi all,

    We’ve added a fix which will be in the next release.
    Though the issue is as much because of Rank Math not adding the required “end of line” than from WP-Optimize not checking if it’s required.

    Marc

    Hi all, is the problem solved from your side ? the matter is still there on my side, despite the recent plugin update release

    I a m looking forward to hearing from you

    Best Regards

    Yvan,

    Thread Starter Henk Barreveld

    (@henk-barreveld)

    Hello @yvandupuy, @marcusig,

    You are right. after upgrading WP-Optimize from 3.1.8 to 3.1.9 I still get the same robots.txt file:

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    
    Sitemap: https://xxxxxxxxxxx.nl/wp-sitemap.xml
    
    Disallow: /uploads/wpo-plugins-tables-list.json

    Maybe I should explain better what the problem is with this. Unless I am completely mistaken, the path in the Disallow directive should be relative to the website root folder. However, unless the default path of uploads has been changed in the WordPress theme or so, the folder uploads is not in the website root folder, right? It is in wp-content. So the directive should be (default):

    Disallow: /wp-content/uploads/wpo-plugins-tables-list.json

    By the way, a quick look at the plugin source code shows another problem: for this additional line in robots.txt, WP-Optimize does not take into account that on a WP site the location of the uploads folder may be non-default. It does recognize that possibility where it uses the file wpo-plugins-tables-list.json, however.

    That’s all…

    Best regards,
    Henk

    Hi,

    I have same problem, how fix it?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Location of wpo-plugins-tables-list.json’ is closed to new replies.