Hi, I want to redirect all my domains from www to non-www and I found the following solution. RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.(.*) [NC] RewriteRule ^(.*) http://%1/$1 [R=301,L PHP: But in my notes I found a note for myself that using a domain-independent redirect can cause security issues (unfortunately I do not know where I got this info from). Can this really cause security problems? And if so, can someone maybe explain why? Or is the code save to use? Thank you very much !