Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

R3DF Multisite Blog Slug Remover

Apraksts

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.

Uzstādīšana

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)

Atsauksmes

6 augusts, 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 septembris, 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.
Lasīt 8 atsauksmes

Autori un izstrādātāji

“R3DF Multisite Blog Slug Remover” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Izmaiņu žurnāls

Version 1.0.0

  • Initial release