Hi,
I whant to redirect www to non www site
I tried but not working, please help-me
sory for my bad english
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
##### Re-directing End #####


The Facebook Module for Pligg CMS!
Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!
This works for me and it should for you. Remember to remove that default pligg www redirect:
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
just comment it out as above
Now if you don't have RewriteEngine on copy whole thing and if you have ti just leave it.
# start redirect
RewriteEngine on
# code bellow should go after RewriteEngine on
# change domain to your domain
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule ^.*$ "http\:\/\/domain\.com" [R=301,L]
#end redirect