Wordpress - Remove category base with subdomain plugin

Hello friend,
I am using subdomain plugin in one of my wordpress based blog to convert top level categories into subdomains but now i need to remove category_base as well. I tried doing it by .htaccess but it’s giving me 404 error. Please suggest any method.

I found the solution and shared it here
It works perfectly for me