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

R3DF Multisite Blog Slug Remover

外掛說明

This plugin removes the ‘/blog’ slug from the main site permalinks of a sub-folder multisite install. The intended purpose for this plugin
is for multilingual installations where the main site is the default language (although I’m sure there are other applications). These sites
are of often for businesses where having the ‘/blog’ in the permalink (URL) does not make sense.

‘/blog’ is automatically removed from the main site permalinks upon plugin activation.

‘/blog’ is automatically restored in permalinks upon plugin deactivation.

安裝方式

The easy way:

  1. To install this plugin, click on “Add New” on the plugins page in your WordPress dashboard.
  2. Search for “R3DF Multisite Blog Slug Remover”, click install when it’s found.
  3. Network activate the plugin through the ‘Plugins’ menu in Network Admin in WordPress. (The plugin only acts on the main site, and Network activation hides it from the other sites)

The hard way:

  1. Download the latest r3df-multisite-blog-slug-remover.zip from wordpress.org
  2. Upload r3df-blog-slug-remover.zip to the /wp-content/plugins/ folder on your web server
  3. Uncompress r3df-multisite-blog-slug-remover.zip (delete r3df-multisite-blog-slug-remover.zip after it’s uncompressed)
  4. Network activate the plugin through the ‘Plugins’ menu in Network Admin in WordPress. (The plugin only acts on the main site, and Network activation hides it from the other sites)

使用者評論

2017 年 8 月 6 日
While this works I found out that this plugin is totally unnecessary because you can remove the blog slug from the settings all by yourself — and I think it’s generally a good idea to minimise the use of plugins. These are the steps. Change the permalink setting in network admin to /%postname%/ Going to permalinks settings of the site will fix the 404 Result: Working WordPress Multisite without /blog/ slug. I’ve tested this on WordPress 4.8+ and works great. *Source with instructions here* Anyway — thank you for all the hard plugin development!
2016 年 9 月 3 日
Instead of messing around with permalinks-settings: use this plugin. BTW: feature request for the next version would be to replace /blog with a custom string like /en for the language or something.
閱讀全部 8 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈R3DF Multisite Blog Slug Remover〉的開發相關工作。

參與者

變更記錄

Version 1.0.0

  • Initial release