title: Avoid landing page redirects
body: <p>I have create a simple webpage at uploaded at a free Linux-shared server where i have bought my domain name.</p>
  
  <p>My cpanel at "Advanced DNS Zone Editor" is configure :</p>
  
  <p>Name  //  TTL  //  Class  //  Type  //  Record</p>
  
  <ul>
  <li>example.com.             14400   IN  A       123.4.567.890</li>
  <li>localhost.example.com.   14400   IN  A       123.0.0.1</li>
  <li>mail.example.com.        14400   IN  CNAME   example.com</li>
  <li>www.example.com.         14400   IN  CNAME   example.com</li>
  </ul>
  
  <p>I have put in all pages meta tags like this one:</p>
  
  <pre><code>&lt;link rel="canonical" href="http://example.com/page2.html"/&gt;
  </code></pre>
  
  <p>I have create .htaccess and upload it in server.
  My code inside is this:</p>
  
  <pre><code>#Force non-www:
  RewriteEngine on
  RewriteCond %{HTTP_HOST} ^www.example.com [NC]
  RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
  </code></pre>
  
  <p>Why i am getting this error?
  Avoid landing page redirects
  To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible.</p>
  
  <pre><code>http://www.example.com/page2.html is a permanent redirect to http://example.com/page2.html
  </code></pre>
  
  <p>Thank you in advance.</p>