Domain.com is working but www.domain.com is not working


(vamshi) #1

my domain.com is working but www.domain.com is showing an error what would be the exact issue how can i get out of it;.


(vamshi) #2

civilread.com is working but www.civilread.com is not working


(Pradeep Kumar) #3

You can use this following code in your .htaccess file @NAga_VaMshi. :slight_smile:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L] 

(vamshi) #4

Thanks bro will check and let u know