Support » Plugin: Fast Velocity Minify » Plugin breaks wp-sitemap.xml

  • Resolved Jackky

    (@jackky)


    Hi! Plugin adds extra code to wp-sitemap template wp-sitemap-index.xsl and it breaks the functionality of wp-sitemap

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Jackky

    (@jackky)

    Any ideas?

    Thread Starter Jackky

    (@jackky)

    Still have this issue

    Plugin Author Raul P.

    (@alignak)

    Hi, sorry the late reply.

    I haven’t tested this, but the plugin is not supposed to do any changes on xml or xsl files. A XSL file is a template file. It should not matter for the XML file except if you are seeing it on a browser, where a template may be needed.

    I’ll try to get this extension excluded on the next update release anyway.
    Thank you for reporting

    I found a workaround to disable the XML stylesheets

    add_filter('wp_sitemaps_stylesheet_index_url', sitemap_stylesheet_index_url, 10, 1);
    add_filter('wp_sitemaps_stylesheet_url',sitemap_stylesheet_url, 10, 1);
    function sitemap_stylesheet_index_url($sitemap_url) {
        return false;
    }
    
    function sitemap_stylesheet_url($sitemap_url) {
        return false;
    }
    Plugin Author Raul P.

    (@alignak)

    The latest version should no longer process xsl files. Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.