RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.prashantabhishek.com
RewriteRule (.*) http://prashantabhishek.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^prashantabhishek\.com $
RewriteCond %{REQUEST_URI} !^/prashantabhishek_folder/
RewriteRule (.*) /prashantabhishek_folder/$1

RewriteCond %{HTTP_HOST} ^(^.*)\.prashantabhishek.com
RewriteCond %{REQUEST_URI} !^/prashantabhishek_folder/
RewriteRule (.*) /prashantabhishek_folder/$1



#www.prashantabhishek.com