How to Remove the IP canalization using .htaccess file -
recently have gone through website seo tools , suggest remove ip canalization using .htaccess file, don't know how remove using .htaccess file code.
what mean?
if that's domain host document root, can try adding these rules htaccess file in document root:
rewriteengine on rewritecond %{http_host} . rewritecond %{http_host} !^www\.neotericuk\.co\.uk$ [nc] rewriterule (.*) http://www.neotericuk.co.uk/$1 [r=301,l] if there other hosts being hosted same document root, can match ip address:
rewritecond %{http_host} ^neotericuk\.co\.uk$ [nc,or] rewritecond %{http_host} ^1\.2\.3\.4$ rewriterule (.*) http://www.neotericuk.co.uk/$1 [r=301,l] where 1.2.3.4 server's ip address.
Comments
Post a Comment