Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] minify breaks query with &

  • Resolved RavanH


    Hi Frederick and Thaya,

    I came across a peculiar thing on someone elses WPMS site running W3TC with minify enabled in combo with XML Sitemap Feed. Another site was using WP Minify and reported the same problem but I cannot verify this since these are not my sites and I am not using either of these plugins on any of mine… but this seems to be happening:

    The sitemap on that site which is produced by my plugin, works fine and the source is indeed minified. But here’s the thing. the sitemap xml has an xsl stylesheet attached with some extra strings appended. The URL is which results in a 404 page.

    So I did some testing and found that the following URLs do result in the xsl file being served.

    3. (notice 1. the non-urlencoded & instead of & and 2. the missing http:// after url= )

    Other combinations using either that http:// or an URL Encoded & result in a 404 page again… Now I can go and use the unencoded & but that will invalidate the XML Sitemap in any online validator (making me look silly 😉 ) so I was wondering:

    Is minify is indeed responsible for this or is there something else going on?

    Thanks for your thoughts 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] minify breaks query with &’ is closed to new replies.