• Resolved Danb3434

    (@danb3434)


    Hello,

    I am using the Divi theme which has a function called the Divi library, where you can save and reuse different elements that have been created by the site owner.

    This library is being included in the xml sitemap as ‘/sitemap-files/xml/terms/layout_category/’ by the plugin. Would really appreciate any support on how to prevent it from being included, as it’s leading to 404 errors by Google.

    There is no option to exclude this category in the options page.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello – thanks for raising the issue.

    Could you please try putting the path ‘/sitemap-files/xml/terms/layout_category/’? inside robots.txt as disallow. For example, like this:

    Disallow: sitemap-files/xml/terms/layout_category/*

    Once you update the robots.txt, please visit the sitemap page, the unwanted entry should be gone. Let us know if that works. We will put this inside our backlog as well for newer version to deal with this issue in conjunction with DIVI theme. Thanks!

    Thread Starter Danb3434

    (@danb3434)

    Hi @saurabhdhariwal01

    Thanks for coming back to me. I updated my robots.txt file, it now looks like this:

    User-agent: *
    Disallow: /wp-admin/
    Disallow: sitemap-files/xml/terms/layout_category/*
    Allow: /wp-admin/admin-ajax.php

    Sitemap: https://MYURL.com/wp-sitemap.xml

    That sitemap that is shown in the robots.txt isn’t actually the one produced by the plugin. Should I update that too? I am cautious around updating robots.txt file…

    Hi @danb3434 – thanks for the response. Yes you need to update the robots.txt again and set the sitemap path produced by our plugin. Usually our plugin automatically updates virtual robots.txt but in your case the file is physical. So please go ahead and update the robots.txt file with accurate path of the sitemap. Thanks.

    Thread Starter Danb3434

    (@danb3434)

    Hi @saurabhdhariwal01,

    So I updated the robots.txt file to:

    User-agent: *
    Disallow: /wp-admin/
    Disallow: sitemap-files/xml/terms/layout_category/*
    Allow: /wp-admin/admin-ajax.php

    Sitemap: https://MYURL.com/xmlsitemap.xml

    Unfortunately, the /sitemap-files/xml/terms/layout_category/1/ is still showing in the sitemap file. Any further support would be highly appreciated, happy to tip you too for support that leads to a positive outcome.

    Kind regards,

    Hi @danb3434 can you please try and specify the entire URL inside robots.txt? /sitemap-files/xml/terms/layout_category/1/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Divi Conflict’ is closed to new replies.