javaguru Posted November 23, 2013 Share Posted November 23, 2013 Hello respected admins,sm,mods and members. I want to use 301 redirects for my website. I want everyone who open http://www.coolworld.in autometically redirect to http://coolworld.in :-)what code should i need to enter in .htaccess Quote Link to comment Share on other sites More sharing options...
Byron Posted November 23, 2013 Share Posted November 23, 2013 Use thisRewriteEngine On RewriteCond %{HTTP_HOST} ^www.coolworld.in [NC] RewriteRule ^(.*)$ http://coolworld.in/$1 [L,R=301] 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.