Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>See this thorough discussion on the topic to address concerns specific to your site:</strong></p> <p><a href="http://moz.com/community/q/duplicate-content-and-http-and-https" rel="nofollow">Moz Q&amp;A: Duplicate Content and http and https?</a> </p> <p><strong>In summary:</strong></p> <blockquote> <p>"Google considers https:// and http:// two different sites and may inconsistently index one vs. the other and/or penalize for duplicate content... <strong>https indexed pages that don't require https typically come from a bot entering an https required page and traversing outward (shopping cart, etc.)</strong>"</p> </blockquote> <p><em>(note: Obviously if something requires https: on your site, you need to be careful about any of the following.</em></p> <p><strong>The easiest solution may be to use absolute canonical links in your site.</strong> </p> <p>I.e: <code>&lt;a href='https://www.example.com/securepage/'&gt;</code>.. as needed or regular http:// otherwise.</p> <p><strong>Solutions</strong></p> <ol> <li><p>"Be smart about the site structure: to keep the engines from crawling and indexing HTTPS pages, structure the website so that HTTPs are only accessible through a form submission (log-in, sign-up, or payment pages). The common mistake is making these pages available via a standard link (happens when you are either ignorant or not aware that the secure version of the site is being crawled and indexed)."</p></li> <li><p>"Use Robots.txt file to control which pages will be crawled and indexed."</p></li> <li><p>"Use .htaccess file. Here’s how to do this:"</p> <p>Create a file names robots_ssl.txt in your root. </p> <p>Add the following code to your .htaccessRewriteCond </p> <pre><code>`%{SERVER_PORT} 443 [NC]RewriteRule ^robots.txt$ robots_ssl.txt [L]` </code></pre></li> <li><p>Remove yourdomain.com:443 from the webmaster tools if the pages have already been crawled.</p></li> <li><p>For dynamic pages like php, try:</p> <p><code>&lt; ?phpif ($_SERVER["SERVER_PORT"]== 443){echo “&lt;meta name=” robots ” content=” noindex,nofollow ” &gt; “;}?&gt;</code></p></li> <li><p><strong>Dramatic solution (may not always be possible): 301 redirect the HTTPS pages to the HTTP pages – with hopes that the link juice will transfer over.</strong></p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload