Announcement

Collapse
No announcement yet.

Preventing https:// ssl secured pages from being indexed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Preventing https:// ssl secured pages from being indexed

    ...and my second official post! ;)

    A problem we've experienced in the past is with the search engines indexing an ssl version of the correctly indexed non-ssl homepage This is a fast way to create duplicate indexed content...a bad thing...particularly for the homepage.

    Is there some way to implement the "canonical" tag (below) without it pointing everything to the homepage (http://www.mydomainname.com)?

    <link rel="canonical" href="http://www.mydomainname.com/" />

    Would this work?:
    <div id="if_homepage">
    <link rel="canonical" href="http://www.mydomainname.com/" />
    </div>

    Thanks in advance.

    NT
    Last edited by N.TESLA; 07-17-2010, 09:28 PM. Reason: syntactical error

  • #2
    As part of 3dCart SEO features we implemented 2 robots.txt files, one for https and one for http.

    The default behavior for the SSL robots.txt is to block everything.

    To test and make sure this is working for your store, try:

    http://www.yourstore.com/robots.txt
    and
    https://www.yourstore.com/robots.txt

    The https one should just be something along the lines of DENY ALL while the other one just denies a few pages like add_cart, etc.
    ----------------------------
    Gonzalo Gil
    3dCart Support
    800-828-6650 x111

    Comment


    • #3
      Thank you for the quick response GonzaloGil.

      Since we are still on the mydomainname.3dcartstores.com development url, I looked at one of the other stores dual robots.txt files.

      The ssl version denied all...should work fine!


      NT

      Comment

      Working...
      X