how to remove /blog slug in wordpress 3.0

myarale
myarale used Ask the Experts™
on
http://abc.com/blog/news/abc-etc

WP 3 creates URL like this, how to remove /blog slug? I want to remove it, I tried with many ways but there is no luck. Please tell me.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Lee OsborneSenior Infrastructure Engineer

Commented:
You need to install Wordpress into the root of your domain. When you installed it, you would have chosen the installation path as abc.com/blog .

This guide will help you move your Wordpress installation.

http://codex.wordpress.org/Moving_WordPress

Lee

Commented:
Are you sure this is the correct link to your website?

Author

Commented:
this is example url, not mine. I want to remove /blog in permalinks. I dont know how to remove it.
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Author

Commented:
this is screenshot
Untitled-1.gif

Commented:
You may want to use www.example.com  then not someone elses site... :)

Anyway, you need to move your wordpress installation to the top level as LeeOsborneUK already says. The link he provides is very useful indeed.

I can see you access the site via IP address. Be aware that once your site goes live, you have to change all references to  this IP with your site's URL in the database, otherwise your visitors will come back to see the IP in the address bar.

Author

Commented:
I see, site will be installed in root but WP will create /blog - how to remove it anyway? I'm using WP 3.0 with multiple sites enable.

Commented:
Have a look under Settings>General Settings:" WordPress address (URL)" and "Site address (URL)". If both settings are identical and showing the home directory of your site, /blog should not be there any more. Just make sure you checked out that link LeeOsborneUK gave you
http://codex.wordpress.org/Moving_WordPress before you change those settings.
Lee OsborneSenior Infrastructure Engineer

Commented:
Agreed. The Site address is your domain URL, i.e. www.example.com  , and your Wordpress address is (currently) www.example.com/blog .

You need to change the Wordpress address to www.example.com once you have moved it as per the instructions.

Lee

Author

Commented:
oh, its not about site URL. I current setup site on a folder, not /blog but it is still add /blog slug. I would like to remove this /blog
Commented:
My guess is that you are using WPMU, in that case it would make sense.  


Installation:
1. Download the plugin Remove ‘/blog’ slug plugin for wordpress Mu 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.6, 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.


Website Tutorial:
http://buddydev.com/buddypress/remove-blog-slug-from-the-default-blog-of-wpmu-subdirectory-installation/

Remove /blog Plugin:
http://buddydev.com/http//buddydev.com/public-download/cc-remove-blog-slug-v-1.1.zip

Commented:
Answer has just been given ;)

Commented:
Also you could try:

GOTO: Super Admin > Sites > Edit.

Scroll down to "Permalink Structure" and remove the "/blog" part. That should work.
You can use the plug-in called custom permalinks. It gives you control over your static "pages", as well as giving your posts a separate custom permalink structure. You can have your posts and pages named in 4 pre-set settings and it has a blank field where you can add a custom structure. Here is a link to the Wordpress page that explains it in complete detail: http://codex.wordpress.org/Using_Permalinks.

You can change everything past the http://yoursitename/. Unless your website is named "blog", this will allow you to take it out of the URL. This is not an opinion, it is a definite fact. I have used it on several different web-sites, and have recommended it to several others who are using it successfully today.

NOTE: After you change your permalink structure, you must update it, and you should get a 301 redirect, so any of your old URL's can be redirected to the new URL. If you don't and someone sees it in Google then It will take them to a 404 error page. This is also a simple set-up, and is effective.

Let me know if you have any questions, I will be glad to help you work this out.
I don't want to make a big deal about this, so I am not going to object. I will say I know my solution works if it is carried out correctly. Either I was unclear on the procedure or it wasn't  followed correctly, or it could be one of those "unknown irregularities." Either way, I wish the Author luck in resolving this issue.
OK, I just noticed, I was awarded a points split, I would like to inquire as to why, or if I have had them taken back. Thank you in advanced for a response. jeremyjared74
Thank you for the explanation. I am sorry if this sounded petty. I didn't want to sound confrontational, I was just looking for clarification.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial