htaccess problem
- by rohit
my htaccess file is belkow
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
RewriteCond %{HTTP_HOST} ^www\.domain\.co\.cc$ [NC]
RewriteRule ^(.*)$ http://domain.co.cc/$1 [L,R=301]
when i write www.domain.co.cc it's not working while i write just domain.co.cc/
it's working fine
please help me out with www stuff .
i have added last two lines so that when user write www.domain.co.cc it will redirect to domain.co.cc but still it not working.