Thursday, 12 January 2012

redirect a site on www using .htaccess

RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www\.urbankingsinc\.com)?$
RewriteRule (.*) http://www.urbankingsinc.com/store/$1 [R=301,L]