Simple URLs

外掛說明

Simple URLs 是一個能讓網站管理員在網站中使用自訂內容類型及 301 重新導向建立、管理及追蹤輸出連結的完整網址管理系統。

DEPRECATION NOTICE

This plugin is now deprecated and will no longer receive feature updates.

Alternatives:

Check out the wide range of other link management and link shortener plugins.

Usage

Simple URLs adds a new custom post type to your Admin menu, where you can create, edit, delete, and manage URLs. It stores click counts in the form of a custom field on that custom post type, so it scales really well.

And, by avoiding page based redirects, which is the current trend in masking affiliate links, we avoid any issues with permalink conflicts, and therefore avoid any performance issues.

  1. 將外掛安裝套件解壓縮所得的 simple-urls 資料夾上傳至網站的 /wp-content/plugins/ 目錄。
  2. 不要變更 simple-urls 資料夾的名稱。
  3. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  4. 前往 [設定]→[永久連結] 並儲存。是的,直接點擊 [儲存設定] 即可。
  5. 前往 [Simple URLs] 選單。
  6. 建立新網址,或管理現有的網址。
  7. 依據實際需求發佈或使用網址。

螢幕擷圖

  • 管理網址畫面
  • 建立/編輯網址畫面

常見問題集

試著存取建立的新網址時,發生 404 找不到錯誤

看來安裝外掛時並未按照安裝說明。

前往 [設定]→[永久連結] 並儲存。不須變更任何設定,直接點擊 [儲存設定] 即可。

是否能變更網址結構,而不使用預設的 /go/?

可以,請使用 simple_urls_slug 篩選器進行變更。

使用方式:
add_filter( 'simple_urls_slug', function(){
return 'redirect-me';
});

使用者評論

2019 年 6 月 18 日
After an update all links were redirected to the backend. That means: loss of income and also a lot of work to change hundreds of links. 1 star is even too much for this plugin.
2017 年 7 月 26 日
Simple & easy solution to create links like this: https://www.bestadvisor.com/bluetooth-car-kits Never had an issue with this plugin in months! Works perfect and gives a lot of possibilities. Thanks to the developer for creating this fantastic piece. I really appreciate your work.
2017 年 2 月 3 日
Lo que hace es crear redirecciones personalizadas para que tengas un control exacto de tus enlaces.
2016 年 9 月 3 日
I tried a few links and only got 404 errors. I uninstalled and tried Linker, which worked right away.
閱讀全部 20 則使用者評論

參與者及開發者

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

參與者

Simple URLs 外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 Simple URLs 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.9.9

  • Fixed URLs not properly redirecting.

0.9.8

  • Coding standards.
  • Added composer.
  • Added Circle CI integration.
  • Added new filter to change the slug.
  • Added REST support to ensure Simple URLs appear in list when linking text.
  • Added cast string to int to avoid type error.

0.9.7

  • WordPress compatibility.

0.9.6

  • Add plugin header i18n
  • Add textdomain loader

0.9.5

  • Changed messages and labels.
  • Updated textdomain.
  • Generated POT file.

0.9.4

  • Fixed saving bug

0.9.3

  • Removed capability line from the register function. Users with permission to edit posts can create/edit URLs.
  • Bumped to show compatibility with WordPress 3.0.4

0.9.2

  • Fixed a type in the plugin URL
  • Bumped to show compatibility with WordPress 3.0.2

0.9.1

  • Fixed bug with URLs with ampersands in them
  • Added 'with_front' => false to the post type registration

0.9

  • Initial Beta Release