undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. On-Page Optimization
  4. Website accessible on http and https. Is it bad?

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Website accessible on http and https. Is it bad?

On-Page Optimization
5
6
1.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • CyrilWilson
    CyrilWilson last edited by Jul 19, 2012, 3:55 AM

    We noticed that our website is accessible on:

    http://www.example.com and

    https://www.example.com

    Both the versions have page rank of 4.

    Though on https version we have added canonical tag indicating http:// version as preferred.

    Is this fine or we need to use 301 redirect and let the site be accessible only on http:// version??

    1 Reply Last reply Reply Quote 1
    • CyrilWilson
      CyrilWilson @MoosaHemani last edited by Jul 19, 2012, 5:40 AM Jul 19, 2012, 5:40 AM

      Yes as we are an eCommerce site, we have login and cart pages as secure. So as per the responses received so far, we should not worry about it.

      -The canonical element is already there for protection

      • Adding no index or restricting through robots can be added precaution

      Thanks everyone for the reply!

      1 Reply Last reply Reply Quote 0
      • MoosaHemani
        MoosaHemani Banned last edited by Jul 19, 2012, 5:40 AM Jul 19, 2012, 5:11 AM

        Depends, If you have secure login system on your website then you cannot put 301 on https because in that case user might not be able to access the login area.

        Adding canonical is fine and you can also restrict from crawling by adding it in to Robots.txt file.

        CyrilWilson 1 Reply Last reply Jul 19, 2012, 5:40 AM Reply Quote 2
        • matbennett
          matbennett last edited by Jul 19, 2012, 5:09 AM Jul 19, 2012, 5:09 AM

          Cyril - I honestly wouldn't worry about this. The vast majority of sites with https behave like this and it doesn't cause a problem.  Your canonical is extra protection against it.

          1 Reply Last reply Reply Quote 0
          • gcdtechnologies
            gcdtechnologies last edited by Jul 19, 2012, 5:08 AM Jul 19, 2012, 5:08 AM

            Hi Cyril, a 301 redirect would be preferable to a canonical link in this case.

            1 Reply Last reply Reply Quote 0
            • donford
              donford last edited by Jul 19, 2012, 4:21 AM Jul 19, 2012, 4:21 AM

              Yes 301 is my preferred way to deal with this.

              If you can use

              **if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') {
              echo ''. "\n";
              }**
              

              REF: http://www.seobook.com/archives/001714.shtml

              It is a very common issue, https is needed for sensitive info, but Search Engines don't t need to access.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 out of 6
              • First post
                1/6
                Last post

              Got a burning SEO question?

              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


              Start my free trial


              Browse Questions

              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

              • SEO Tactics

                Discuss the SEO process with fellow marketers

              • Community

                Discuss industry events, jobs, and news!

              • Digital Marketing

                Chat about tactics outside of SEO

              • Research & Trends

                Dive into research and trends in the search industry.

              • Support

                Connect on product support and feature requests.

              • See all categories

              Related Questions

              • Voopoo

                Can access my site using www

                www to non www ssl

                Hello, when I try to access my website using www i would like it to redirect to non www but instead it shows a sal error message.

                On-Page Optimization | Nov 23, 2023, 10:59 AM | Voopoo
                2
              • Clojobobo

                Writing cornerstone content for a shop (eCommerce) website

                Hi there I am trying to optimise my site to the best that it can be. Since the most recent Google updates, everything that I reading is saying cornerstone content with lots of valuable content is a really good strategy as it tells Google what is the most important content on your site. Writing articles that are well structured and have give the user a detailed overview of that subject. Lots of top SEO's are saying 3000 words plus on these pages. My question is, how do I go about this with and eCommerce site? Obviously that majority of the keywords that I want to target are product related and these are the pages that I want to come up in the search. How do I go about creating cornerstone content for these pages? I am thinking that one of my cornerstone pieces of content would be "The Ultimate Guide to [my main product category]". But that product has numerous products related to it, all of which have their own keywords, so how would this help the products to rank? The site had two main product categories, with numerous products under each of those categories. The two main categories are targeting my best performing keywords, but currently the landing page for these is the main product category pages. I am really struggling to work out the best strategy here. The content that I have on my actual products pages is comprehensive and covers a lot of detail about that particular product and has started to rank for product keywords, but I am guessing Google wouldn't consider that to be cornerstone content. I hope this make sense. Any advice anyone can give would be really useful. Many thanks in advance

                On-Page Optimization | Jun 19, 2019, 4:42 PM | Clojobobo
                1
              • Dan_Brown1

                Address on Every page of the website for Local SEO? Good or Bad?

                Is this good idea to add business address on every page of the website?, How Google see this? and This is Good or bad for ranking?

                On-Page Optimization | Feb 14, 2014, 5:27 PM | Dan_Brown1
                0
              • KLLC

                Review my website and guide me what can do for top ranking.

                Hi Guys, I really need your advice for my website (bmgapt dot com). I'm loosing ranking on (Buffalo Apartments) keyword. Two months ago my ranking number is 3 but now loosing to 15 number. What can I do for get again top ranking. Thanks in advance. John Smith

                On-Page Optimization | Jun 15, 2013, 7:28 AM | KLLC
                0
              • joeko

                Will Google penalize my website if I hide the H1 tag?

                If I hide H1 tag (title on the homepage) with CSS, how Google handle with my site?

                On-Page Optimization | Feb 1, 2013, 5:50 PM | joeko
                0
              • aussieseoguy

                Getting access to clients websites for onsite seo

                I understand on site seo fine, as I have tweeked up my own website a fair bit. But I am thinking about doing Onsite and Offsite SEO for clients, as I have had a few request now. So my question is what is the best way to get access to clients websites. So I can make the required adjustments. I have one client, who had a company create a website for him, but they have since closed down.

                On-Page Optimization | Oct 20, 2012, 12:32 AM | aussieseoguy
                0
              • DavidLenehan

                Mega Menus? A good or bad idea for link juice.

                Hi Just wondering what people think of using mega menus for navigation? We have used them on our new site http://nicontrols.com/uk/ When I run the site through the excellent SEOMoz campaign tools I see that we have too many on page links. I now believe the menu is good for customers but maybe not for link juice. Anyone got an ideas? Do I remove the mega menu or just reduce the number of links? Many thanks David

                On-Page Optimization | Jul 19, 2012, 12:09 PM | DavidLenehan
                0
              • seoug_2005

                SEO for spanish website

                Hi, A client has given us the site  http://www.comtranslations.com/Home.html  for optimization. He wants to optimize only the spanish part ( the link is on the top right ).  By clicking on the link Espanol, the url opened is -  http://www.comtranslations.com/Principal.html. He wants seo for this website for spanish  keywords. The keywords are - Traducción
                Traductor
                traducir español inglés
                traducción My question is how do we go about this ? Shall we purchase a software that translates spanish to english ? Thanks

                On-Page Optimization | Apr 24, 2015, 4:36 AM | seoug_2005
                0

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy

              Looks like your connection to Moz was lost, please wait while we try to reconnect.