How to remove /blog/ from WordPress Permalinks

I went to through many postings of WordPress Forum to remove /blog/ from my Website
i did everything from the Forum, but some how /blog/ came back after updating in Network admin and sites Permalinks

even i went to phpmyadmin to delete this troublesome /blog/

as original site was built without /blog/ but when i migrated to new host i used latest wordpress and imported data from old site;
and in Google or other search engines it was listed without /blog/

at last i went to
wp-admin/options-permalink.php file

find this

$blog_prefix = ‘/blog’;

and updated with

$blog_prefix = ”;

SUREKHA…..!
thats indian version of EUREKA….! (My wife doubts when i shout Surekha coz its a Indian Girl name)

WORDPRESS experts may laugh at me, but i found hardway to solve the Problem.

Hope its works for you too.

READ  wp-admin : This webpage has a redirect loop

Leave a Comment

Your email address will not be published. Required fields are marked *