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

Relative Links Fix

外掛說明

WordPress bloggers will sometimes copy headlines from a WordPress-generated homepage and paste them into the post-editing window. In Firefox, this has the unfortunate result of converting absolute urls into relative ones. For example, copying a headline from http://khaotica.com converts the permalink for this article:

http://khaotica.com/2009/12/firefox-relative-links-fix-wordpress.html

…to a relative link:

../2009/12/firefox-relative-links-fix-wordpress.html

This creates broken links when the post is viewed on the archive page and RSS feed. The links will also be broken for subscribers who receive posts via email.

Enter the Relative Links Fix. This plugin will replace relative urls with the proper absolute urls every time you save or publish a post. If you use WordPress and can’t shake those copy-paste habits, this is the plugin for you.

As always, donations are appreciated. I promise to spend them exclusively on soda (the creative fuel that powers developers everywhere).

安裝方式

  1. Upload linksfix.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

How do I correct relative urls in my post?

After the plugin is activated, simply publish or update the post. The plugin automatically corrects relative urls in the post each time it is saved to the database.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Relative Links Fix〉的開發相關工作。

參與者

將〈Relative Links Fix〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3

  • Corrected bug for WordPress subdirectory

1.2

  • Plugin now corrects img src links in addition to href links.

1.1

  • Tested in WP 2.9; updated description and FAQ.

1.0

  • Original release.