Цей плагін не перевірявся з останніми 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)

Відгуки

06.08.2017
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!
03.09.2016
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” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “R3DF Multisite Blog Slug Remover” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

Version 1.0.0

  • Initial release