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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -