BlastChat sees abc.com and
www.abc.com as separate URLs (websites), I recommend for you to use httpd.conf rewrite rule, something like this:
| Code: |
############# redirect abc.com to www.abc.com ##############
# For sites running on a port other than 80
#RewriteCond %{HTTP_HOST} !^www\.abc\.com$ [NC]
#RewriteCond %{HTTP_HOST} !^$
#RewriteCond %{SERVER_PORT} !^80$
#RewriteRule ^/(.*) http://www.abc.com:%{SERVER_PORT}/$1 [L,R]
# And for a site running on port 80
RewriteCond %{HTTP_HOST} !^www\.abc\.com$ [NC]
RewriteCond %{HTTP_HOST} !=""$
RewriteRule ^(.*)$ http://www.abc.com/$1 [R=301,L]
########################################################################
|