Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Remove Query Arg from Media URLs ?_=1

Remove the query string ?_=1 added by WordPress adds to media URLs in HTML5 audio and video mediaelement.js players.

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.
  • Google’s Accelerated Mobile Pages (AMP): Removes the possibility of links to media files being detected as AMP errors.

Compatible Media Plugins

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

Author Angelo Mandato, Plugins Podcast
Profile
Contributors amandato, pluginspodcast
Tags audio-video, m4a, m4v, mediaelement, MediaElement.js, mp3, MP4, oga, ogg, ogv, podcast, podcasting, powerpress

No screen shots at this time.

  1. Copy/Upload the entire remove-query-arg-from-media directory from the downloaded zip file into the /wp-content/plugins/ directory.
  2. Activate the "Remove Query Arg from Media" plugin in the 'Plugins' menu in WordPress
  3. Enjoy

0.1

  • Released on 1/7/2017
  • First version

Why did you make the plugin?

To solve a simple problem, to remove the query string parameter from the media URLs.

Share  
Download
Version 0.1

Requires WordPress version: 3.7 or higher

Compatible up to: 4.7.2

Last Updated 10 Jan 2017

Date Added: 10 Jan 2017

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
57 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0