[WordPress] 外掛分享: Slug Control

首頁外掛目錄 › Slug Control
WordPress 外掛 Slug Control 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3983 天前
最後更新
問題解決
WordPress 4.0+ v0.1.0 上架:2015-04-21

內容簡介

當你想出了一個好的文章標題,但 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

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Slug Control」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon