How to solve IP canonicalization issues

By | 19 August, 2014

One of my students query on canonicalization :

1. IP Canonicalization Test

Test your site for potential IP canonicalization issues. Canonicalization describes how a site can use slightly different URLs for the same page (for example, if your site’s IP address and domain name display the same page but do not resolve to the same URL. If this happens, search engines may be unsure as to which URL is the correct one to index. Your site’s IP 162.208.53.167 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.

best-seo-training-institute-in-chennai

2. URL Canonicalization Test

Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly different URLs for the same page (for example, if http://www.example.com and
http://example.com displays the same page but do not resolve to the same URL). If this happens,
search engines may be unsure as to which URL is the correct one to index. Learn more about canonicalization issues.

http://webdesignkolkata.co.in and http://www.webdesignkolkata.co.in should resolve to the same

URL, but currently do not.

My Answer :

I found your url’s are working fine still if you want to solve the problem you can implement 301 redirect using the following ways. Sometime due to browser infection and corruption as well you don’t get proper output, so that you should change by installing a fresh new browser or uninstalling and re-installing the same browser.

You should definitely check the following url’s on this topic :

http://www.mattcutts.com/blog/seo-advice-url-canonicalization/

https://support.google.com/webmasters/answer/93633?hl=en

http://www.webconfs.com/how-to-redirect-a-webpage.php ( we have sourced some of the following techniques from this url you can follow them there as well)

You can also follow few very good videos to solve your problem :

canonicalization www or not www :

Canonicalization-How To Fix Canonicalization Issues :

301 redirect your old URLs (webpages) when redesigning websites :

How to create simple 301 redirects in wordpress :

 

How to create a 301 Redirect

IIS Redirect

In internet services manager, right click on the file or folder you wish to redirect
Select the radio titled “a redirection to a URL”.
Enter the redirection page
Check “The exact url entered above” and the “A permanent redirection for this resource”
Click on ‘Apply’
ColdFusion Redirect

<.cfheader statuscode=”301″ statustext=”Moved permanently”>
<.cfheader name=”Location” value=”http://www.new-url.com”>

PHP Redirect

<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>

ASP Redirect

<%@ Language=VBScript %>
<%
Response.Status=”301 Moved Permanently”
Response.AddHeader “Location”,”http://www.new-url.com/”
%>

ASP .NET Redirect

<script runat=”server”>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(“Location”,”http://www.new-url.com”);
}
</script>

JSP (Java) Redirect

<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.new-url.com/” );
response.setHeader( “Connection”, “close” );
%>

CGI PERL Redirect

$q = new CGI;
print $q->redirect(“http://www.new-url.com/”);

Ruby on Rails Redirect

def old_action
headers[“Status”] = “301 Moved Permanently”
redirect_to “http://www.new-url.com/”
end

Redirect Old domain to New domain using htaccess redirect

Create a .htaccess file with the below code, it will ensure that all your directories and pages of your old domain will get correctly redirected to your new domain.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

Please REPLACE www.newdomain.com in the above code with your actual domain name.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
Redirect to www using htaccess redirect

Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Please REPLACE domain.com and www.newdomain.com with your actual domain name.

Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
How to Redirect HTML

Please refer to section titled ‘How to Redirect with htaccess’, if your site is hosted on a Linux Server and ‘IIS Redirect’, if your site is hosted on a Windows Server.

Get answer to all your queries just enroll in theĀ bestĀ digital marketing course in kolkata.

Category: SEO

3 thoughts on “How to solve IP canonicalization issues

  1. hammons

    Hi! I’m Hammons. Can anyone confirm whether bespoke languages tuition is the only tutoring service which is endorsed by Cambridge University and Harvard University? Also, I know they specialise in French tuition, German tutoring, Spanish lessons and 11 Plus tuition, but does anyone know whether they offer any other languages? We’re pretty sure they’re global!

    Reply

Leave a Reply