Title: Versilink &#8211; Replace PDFs Without Breaking Links
Author: mykytadudariev
Published: <strong>2026 年 9 月 17 日</strong>
Last modified: 2026 年 9 月 17 日

---

搜尋外掛

![](https://ps.w.org/versilink/assets/banner-772x250.png?rev=3700794)

![](https://ps.w.org/versilink/assets/icon-256x256.png?rev=3700794)

# Versilink – Replace PDFs Without Breaking Links

 由 [mykytadudariev](https://profiles.wordpress.org/mykytadudariev/) 開發

[下載](https://downloads.wordpress.org/plugin/versilink.0.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/versilink/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/versilink/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/versilink/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/versilink/#developers)

 [技術支援](https://wordpress.org/support/plugin/versilink/)

## 外掛說明

When you update a price list, catalog or PDF guide, the links you already sent by
email, in ads or on social media still point to the old copy. This plugin turns 
an existing Media Library file into a **Document**. Each new version you upload 
replaces the file at its current address, so links you already shared serve the 
new content.

It is aimed at PDF price lists and guides, but works with any file type WordPress
lets you upload, including DOCX and XLSX.

**Features**

 * Create a Document from any Media Library file.
 * Replace the file in place: its existing address serves each new version.
 * Version history with an optional note per version. Users who manage the Document
   can download previous versions and restore any of them.
 * Previous versions are kept in a separate uploads folder under random file names
   and do not appear in the Media Library.
 * A short permanent link (`/docs/your-document`, prefix configurable) that always
   points to the current file. The plugin warns when the prefix clashes with an 
   existing page, post type or taxonomy.
 * Media Library files that are Documents are marked, and other files get a “Create
   Document” action.

**A note on caching**

The permanent link is sent with headers that forbid caching by browsers, but if 
the site uses a page cache or a CDN, the file’s actual address may still be served
from cache until purged. After uploading a new version, purge the relevant cache
so visitors see it immediately.

**A note on nginx**

Previous-version files are stored under a folder with random, non-guessable names,
which is the primary protection against direct access. On servers running Apache,
an `.htaccess` file inside that folder also denies all direct requests. nginx does
not read `.htaccess` files, so on nginx that extra layer is not present; the random
file names remain the only protection.

## 螢幕擷圖

[⌊Creating a Document from the attachment edit screen.⌉⌊Creating a Document from
the attachment edit screen.⌉[

Creating a Document from the attachment edit screen.

[⌊Version history with notes, downloads and restore.⌉⌊Version history with notes,
downloads and restore.⌉[

Version history with notes, downloads and restore.

[⌊The Documents list with each Document's permanent link.⌉⌊The Documents list with
each Document's permanent link.⌉[

The Documents list with each Document’s permanent link.

[⌊The permanent link prefix setting.⌉⌊The permanent link prefix setting.⌉[

The permanent link prefix setting.

## 安裝方式

 1. Upload the plugin to `/wp-content/plugins/`, or install it through the Plugins 
    screen.
 2. Activate the plugin.
 3. In the Media Library, use the “Create Document” action on a file, or open the new“
    Documents” screen to manage Documents and their permanent link prefix.

## 常見問題集

### What happens to the file’s original Media Library address?

It keeps working. Uploading a new version writes the new content to the same physical
file, so any link to the original address (and the Document’s own permanent link)
serves the current version.

### What if I upload a file of a different type, like a DOCX replacing a PDF?

The Document’s current file moves to a new address in the same folder, and the old
address is frozen: it keeps serving the last file of the old type instead of updating
further. The plugin shows a warning when this happens and lists the frozen address
on the Document.

### Is there a file size limit?

New versions use the same upload limit as the Media Library, which is set by your
host. The limit is shown next to the upload field.

### Does deleting a Document delete the file?

No. Deleting a Document on its screen removes its version history and stored previous
versions, but the Media Library file stays untouched. Documents cannot be moved 
to Trash, because that would break their permanent link. Permanently deleting the
Media Library file, on the other hand, deletes the Document and its history too;
the plugin warns about this before you confirm.

### What happens to my data if I uninstall the plugin?

Uninstalling removes the plugin’s Documents, version history, settings and private
storage folder. Media Library files are never touched.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Versilink – Replace PDFs Without Breaking Links〉的開發相關
工作。

參與者

 *   [ mykytadudariev ](https://profiles.wordpress.org/mykytadudariev/)

[將〈Versilink – Replace PDFs Without Breaking Links〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/versilink)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/versilink/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/versilink/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/versilink/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/versilink/)。

## 變更記錄

#### 0.1.0

 * Initial release.

## 中繼資料

 *  版本 **0.1.0**
 *  最後更新 **1 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.2**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/versilink/)
 * 標籤:
 * [documents](https://tw.wordpress.org/plugins/tags/documents/)[media library](https://tw.wordpress.org/plugins/tags/media-library/)
   [pdf](https://tw.wordpress.org/plugins/tags/pdf/)[permalinks](https://tw.wordpress.org/plugins/tags/permalinks/)
   [versioning](https://tw.wordpress.org/plugins/tags/versioning/)
 *  [進階檢視](https://tw.wordpress.org/plugins/versilink/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/versilink/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/versilink/reviews/)

## 參與者

 *   [ mykytadudariev ](https://profiles.wordpress.org/mykytadudariev/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/versilink/)