[Plugin: W3 Total Cache] minify breaks query with &
-
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 https://journalxtra.com/sitemap.xml 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 https://journalxtra.com/wp-content/plugins/xml-sitemap-feed/sitemap.xsl.php?v=3.7.4&url=https://journalxtra.com/wp-content/plugins/xml-sitemap-feed 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.
https://journalxtra.com/wp-content/plugins/xml-sitemap-feed/sitemap.xsl.php
https://journalxtra.com/wp-content/plugins/xml-sitemap-feed/sitemap.xsl.php?v=3.7.4
https://journalxtra.com/wp-content/plugins/xml-sitemap-feed/sitemap.xsl.php?v=3.7.4&url=journalxtra.com/wp-content/plugins/xml-sitemap-feed
(notice 1. the non-urlencoded&
instead of&
and 2. the missinghttps://
afterurl=
)
Other combinations using either that
https://
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 ??
- The topic ‘[Plugin: W3 Total Cache] minify breaks query with &’ is closed to new replies.