Title: IP Canonicalization Issue
Last modified: August 21, 2016

---

# IP Canonicalization Issue

 *  [toolsqa](https://wordpress.org/support/users/toolsqa/)
 * (@toolsqa)
 * [12 years ago](https://wordpress.org/support/topic/ip-canonicalization-issue/)
 * Hi,
 * I have a website on wordpress (www.toolsqa.com) and a subdomain [http://www.onlinestore.toolsqa.com](http://www.onlinestore.toolsqa.com).
   When I do SEO site checkup on SEOSITECHECKUP.com for IP Canonicalization for 
   my main domain(toolsqa.com), it displays **following error:**
    Your site’s IP
   178.79.165.206 does not redirect to your site’s domain name. This could cause
   duplicate content problems if a search engine indexes your site under both its
   IP and domain name.
 * **It also provide the solution for above error:**
    In order to pass this test
   you must consider using a 301 re-write rule in your .htaccess file so that your
   site’s IP points to your domain name. If your site is running on apache server,
   you could put these lines in your .htaccess after RewriteEngine on line:
 * **RewriteCond %{HTTP_HOST} ^XXX\.XXX\.XXX\.XXX
    RewriteRule (.\*) [http://www.yourdomain.com/$1](http://www.yourdomain.com/$1)[
   R=301,L]
 * Note that you must proper format the first line using your IP (replace X characters
   with proper digits from your IP) and the second line using your domain name.
   
   =====================================================================
 * Now when I perform the above given solution and change my .htaccess file then
   everything gets resolved. But now my subdomain is redirecting to [http://www.toolsqa.com/onlinestore/](http://www.toolsqa.com/onlinestore/).
   The subdomain still works fine but then I am no longer able to login to my subdomain
   either through admin panel or from website.
 * I am using different WP themes for my domain and subdomain. Please look in to
   this and try to provide a solution. Please use simple words, as I am not a technical
   person.
 * Best Regards,
    Lakshay Sharma

The topic ‘IP Canonicalization Issue’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [toolsqa](https://wordpress.org/support/users/toolsqa/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/ip-canonicalization-issue/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
