[WordPress] 外掛分享: Slug Control

WordPress 外掛 Slug Control 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Slug Control」是 2015-04-21 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-04-22,距離現在已有 3664 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

markjaquith |

外掛標籤

slug | urls | post slug |

內容簡介

當你想出了一個好的文章標題,但 URL 別名卻有點匱乏,這不是很惱人嗎?例如你的標題是 Breaking: Yankees win 3-2 in extra innings. I'm excited & literally can't even,然而你的文章 URL 別名卻變成了 breaking-yankees-win-3-2-in-extra-innings-im-excited-literally-cant-even。"3-2" 這個詞的意義變得有點模糊,因為所有的單詞都已經被破折號分開了。"im"並不是一個單詞,"cant" 的意思也不是這樣。代表 "and" 的 & 字元被省略了。開頭的 "breaking-" 是當你的 URL 具有三年歷史時變得有點奇怪了。整個 URL 不協調,不是嗎?這樣的 URL 更好吧:yankees-win-3-to-2-in-extra-innings-i-am-excited-and-literally-cannot-even。當然它很長(未來版的 WordPress 外掛將會解決這個問題),但讀起來很順暢。

貢獻

在 GitHub 上為這個外掛貢獻:

https://github.com/markjaquith/slug-control/issues

原文外掛簡介

Isn’t it annoying when you craft a post title, and then the URL slug kind of falls short? Like, if your title is Breaking: Yankees win 3-2 in extra innings. I’m excited & literally can’t even and your post slug turns out like breaking-yankees-win-3-2-in-extra-innings-im-excited-literally-cant-even. “3-2” is ambiguous because all the words are already separated by dashes. “im” is not a word. “cant” means something else. The ampersand meaning “and” just got dropped. The leading “breaking-” will be silly when the date part of the URL is 3 years old. The whole URL is off. Doesn’t this make more sense? yankees-win-3-to-2-in-extra-innings-i-am-excited-and-literally-cannot-even. Sure it’s really long (and a future version of the plugin will help with that!), but it reads much better.
Contribute
Contribute to this plugin on GitHub:
https://github.com/markjaquith/slug-control/issues

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Slug Control」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Postname Permalink Auto Redirect 》改變永久連結結構但不想損失 SEO 嗎?你來對地方了!, 只要文章仍使用相同的 slug,此外掛會自動重新導向舊的「%postname%」永久連結結構到新的結構。它會根...。

文章
Filter
Apply Filters
Mastodon