跳到内容

Remove Query Arg from Media URLs ?_=1

v0.1

Angelo 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums