Remove Query Arg from Media URLs ?_=1
v0.1Angelo Mandato · 2017年1月7日 上架
Remove the query string ?_=1 added by WordPress adds to media URLs in HTML5 audio and video mediaelement.js players.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 1,784
- 最近更新
- 2017年1月8日
需要 WordPress 3.7+已测试到 4.7.40
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.