R

Remove Query Arg from Media URLs ?_=1

0/5 (0 ratings) 10 active installs Updated Jan 7, 2017

Remove the query string ?=1 added by WordPress adds to media URLs in HTML5 audio and video mediaelement.js players. It will match any digit that follows the equals sign, e.g. ?=42 will be removed.

This plugin is ideal for the following reasons

  • Page Loading Performance: Improve page speed scores with services like PageSpeed, YSlow, Pingdoom and GTmetrix.
  • Caching: Links with query string parameters such as “?” followed by name=value pairs separated by ‘&’ in the URL are typically not cacheable
  • Statistics and Analytics: Prevent statistics and analytics services from including the query string in reporting.

Compatible Media Plugins

If this plugin works with your favorite media plugin, please contact me and I will add it to the list.