這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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. 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.
  • Googles 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.

安裝方式

  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

常見問題集

Why did you make the plugin?

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

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Remove Query Arg from Media URLs ?_=1〉的開發相關工作。

參與者

變更記錄

0.1

  • Released on 1/7/2017
  • First version