Www.www error

my website is zenithjhony.xyz
but when I want to brows my website it’s redirected me www.www.zenithjhony.xyz and i got a error message.

For me it now doesn’t redirect anywhere else and shows your website just fine. If you want to redirect users to the www version correctly, just use this .htaccess code, removing the other non-working parts:

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

and clear your browser cache.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.