Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

R3DF Multisite Blog Slug Remover

Description

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.

Installation

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)

Avis

6 août 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!
3 septembre 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.
Lire les 8 avis

Contributeurs & développeurs

« R3DF Multisite Blog Slug Remover » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Historique des changements

Version 1.0.0

  • Initial release