Yes, you can set up IP canonicalization for your account. IP canonicalization is a technique sometimes used for SEO (search engine optimization). When a site's IP address is canonicalized, the IP address redirects to the domain name.
For example, if visitors enter your IP address in their web browser, they should be redirected to example.com or www.example.com (where example.com represents your domain name). Otherwise, a search engine may index your site under both the IP address and the domain name. This duplicate content could potentially harm your site's search engine ranking.
There are two requirements for setting up IP canonicalization:
RewriteCond %{HTTP_HOST} ^xxx\.xxx\.xxx\.xxx RewriteRule (.*) http://www.example.com/$1 [R=301,L]
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.