• Resolved Alusza

    (@alusza)


    WPO plugin is doing a great job for me so thanks for that! However, Google Search Console is reporting that there is an issue with the sitemap. I know there are multiple similar topics on this, but I don’t see a clear or definitive fix for this (at least it wasn’t clear to me).

    The Search Console error is:
    Submitted URL not found (404)
    https://www.websessive.com/sitemap/

    Apparently, the sitemap can’t be crawled.

    I’ve seen several topics reporting this and the culprit is the disallow of wpo-tables/uploads/wpo-plugins-tables.json in robots.txt.

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php
    Disallow: /wp-content/uploads/wpo-plugins-tables-list.json

    I’ve commented out that the last Disallow, but in this ticket https://www.ads-software.com/support/topic/major-security-issues-with-wpo-plugins-tables-list-json/, WPO Support suggests adding:

    add_filter( ‘wpo_update_plugin_json’, ‘__return_false’ ); to functions.php to prevent WPO from creating the file.

    Will commenting out that line and adding the filter cause any security issues? The poster seemed to think so.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @alusza No there won;t be any security issues, but the authentic way to remove the line is adding following snippet to themes functions.php file:

    add_filter( ‘wpo_update_plugin_json’, ‘__return_false’ );

    Please just stop adding anything to my robots.txt –

    Going to stop using wp-optimize premium if you don’t fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sitemap can’t be crawled: wpo-plugins-tables-list.json disallow’ is closed to new replies.