If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Do you want to remove the ‘/blog’ slug from post url for the default wpmu blog .
In the sub directory style install of wpmu, ‘/blog’ is added to the permalink structure,category base and tag base for default blog(or main blog).
Removing it is quiet easy.If you don’t wish your posts to have url like http://yoursite.com/blog/somepost-goes-here and want it to look like say http://yoursite.com/somepost-goes-here,I have an easy solution for you.
Downlod my plugin “Remove /blog slug plugin for wpmu” link:Remove '/blog' slug plugin for wordpress Mu (269) ,It is has only 10 lines of code.
How to use it.
1.Download the plugin Remove '/blog' slug plugin for wordpress Mu (269) if you have yet not downloaded it.
2.Install it as any other plugin.You may upload to wp-content/plugins or just use plugin installer to upload and install it.
3.Go to Dashboard->Plugins(Installed plugins)
4.Activate “Remove /blog slug plugin for wpmu”
5.Go to Settings->Permalink
6.Copy your current permalink and then change something in permalink,save it.Now put your old permalink and save again.(See, you have to save it twice,we are just forcing wordpress to update the permalink structure by changing it,if you don’t change,the permalink is not saved,so It will not work.To get over it,we change it to something else ,then save and then revert back to the original structure)
7.Go and check your posts now,they will have no “/blog/” slug anymore.
I have tested it with wordpress Mu 2.8.4a ,but I hope it should work fine with other versions too.I even tested it on a buddypress+wpmu installation and it just works fine.
I will love to hear back your feedback.Please let me know your suggestions/views and anything you want here .
Have a great day!
Brajesh
We will keep coming with more informative tips,tricks,tutorials to keep you updated with wordpress/buddypress/wordpress mu regularly.If you want to help us,You can ,by spreading the words.We provide free and premium plugins/support for wordpress Mu,buddypress at a very low cost (starting with $30 for 3 months membership).If you or anyone you know,needs some real good plugins/themes for their wordpress Mu/buddypress powered site, Please refer them to http://BuddyDev.com.We will highly appreciate your support and keep coming with more useful and free stuffs.
Related posts:
- Allow Users to select blog theme while they signup for a blog or create a new blog on your wordpress mu/buddypress powered site How about allowing your users to select a blog theme...
- Limit Number of Blogs per User for wordpress Mu and buddypress website/blog network Well,It’s a small post after a long time.This time ,I...
- Allow Users to set their own Password at Buddypress Registration page Here is the plugin Cosmic BP User Signup Password to...
- Logout Redirect Plugin for wordpress mu/buddypress Here is our another free plugin bpdev-logout-redirect for buddypress and...
- Recently Created Blogs Widget for your wpmu/buddypress site well,An year ago,I showed ,how to list the recently created...
Related posts brought to you by Yet Another Related Posts Plugin.

![[blinklist]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/blinklist.png)
![[Bloglines]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/digg.png)
![[dzone]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/facebook.png)
![[Ma.gnolia]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/magnolia.png)
![[Mister Wong]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/misterwong.png)
![[Reddit]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/reddit.png)
![[Sphere]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/sphere.png)
![[Sphinn]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/sphinn.png)
![[StumbleUpon]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/technorati.png)
![[Email]](http://www.thinkinginwordpress.com/wp-content/plugins/bookmarkify/email.png)



hello thanks for this plugin.
as you mention above, i tried so many times & blog/ slug successfully hide but, i am unable to open any pages.. , category.. , post.. When i click any url then by default showing only home page(index.php).
hi
As I see on your main site,permalink is not enabled (as the posts are having p=id syntax).
Please enable permalink,or point me to your site.
I have tested it and it is working.
you can see an example here
http://fused.in
Please point me to the site after enabling this plugin and saving permalink,may be I can help.
Thanks
Brajesh
sorry i have deactivated.. please check again..
hi
I see the problem now.
Well,It has perhaps something to do with the www thing.By default wpmu does not allows www and I am not sure,whether you have edited the db or what to make it with www.
As far as fusedin was concerned,It has an un updated beta version,I just updated the plugin there and now you can see all the urls are without /blog and are working.
Please let me know ,what you have done to get www in the url,may be I can think of some solution.
Thanks
Brajesh
thanks you saved my day!
I have a question tangential to the topic of your post. I’d like to delete a blog post – and I know that’s a bad idea. What if I just changed the content and changed the title, and changed the slugs? I have a plugin that transfers the old slugs to the new slugs.
What are your thoughts about that?
hey Ronald ,you are most welcome
@Jane
Thanks for visiting.well,an SEO expert can answer your question better.still my advise is,do not delete the old post.Just make a permanent redirect from the old to the new one.That should save the rakings
Thanks Brajesh, plugin worked a charm.
hi Xevo
Thanks for dropping by
I am glad It worked.
[...] more here: Remove /blog slug from the default blog of wpmu subdirectory installation | Thinking In Wordpress:-D… Comments0 Leave a Reply Click here to cancel [...]
Thanks for the plugin. It works for me.
How to get www in the url?
hi komas
do not use www with wpmu. It can cause a lot of trouble in future as wpmu does not support this www thing at present and tends to get erroneous if you use them.
Brajesh,
Thanks for the reply.
WPMU does not support www in the urls. That means, doesn’t it redirect www urls to no-www urls?
Whenever i try to use url with www, its pointing to home page with no-www.
for ex:
if i try http://www.example.com/page1, its getting redirected to example.com
Brajesh,
Never mind.
Got the solution here http://trac.mu.wordpress.org/ticket/1105
Thanks.
Brajish,
I followed your advice. I’m a plugin user, but started using an .htaccess file for all my redirects, which has real advantages: I can change the redirects again and again, if I change the slugs (see above) again and again. I can easily change the order of the redirects and keep them in post order (followed by pages) so it’s easy for me to find the ones I’m looking for (especially when Google Webmaster Tools shows me that there’s been a “no follow” on one). So changing the content and the slugs is no longer any problem at all.
Thanks.
Thanks.
[...] Download and activate this plugin. [...]