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?
-
We noticed that our website is accessible on:
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??
-
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!
-
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.
-
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.
-
Hi Cyril, a 301 redirect would be preferable to a canonical link in this case.
-
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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Can access my site using www
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 | | Voopoo2 -
Is using a H1 tag in a logo image bad for SEO?
We have brand logos on certain pages that have H1 tags in them - the H1 text being the brand's name, as this is what we'd want the title of the page to be. The logos are at the top of the page instead of a written title. But is this the best option for SEO? Do search engines value H1 tags in images as highly as a standard H1 tag?Would it be better for SEO to add an alt tag to the logo and add a separate H1 tag on the page that's also the name of the brand?
On-Page Optimization | | DVLighting0 -
What to do to index all my links of my website?
Ok, i have a new website, with only 14.000 page indexed by google, but the potential is big, 1-2 million pages. What i have to do, to force somehow google to index my website faster? This is my website: https://vmag.ro/
On-Page Optimization | | TeodorMarin0 -
My website have h1 tags , but still crawlers can't find them?
crawlers can't crawl my meta description and h1 tags even when they are present.
On-Page Optimization | | Green_Beauty0 -
When writing content for a website what is the optimal copy length?
My site is currently in the mist of a redesign and I’d like us to compile some recommendations on the length of copy for a page to rank well but can't seem to find any up to date articles on this.Does anyone have any suggestions, comments, or feedback?Thank you.
On-Page Optimization | | PorshaAndrea0 -
How do i know about my website content quality is good or bad?
According to Google updates, content is the main part of the website ranking, so how do i know about my website content quality...if you have any type of tool for check website content quality please refer to me.
On-Page Optimization | | renukishor0 -
Any idea how Google is doing this? Is it schematic? http://techcrunch.com/2014/02/28/google-adds-full-restaurant-menus-to-its-search-results-pages/
Google is now showing menus on select searches. Any idea how they are getting this information? I would like to make sure my clients get visibility this way.
On-Page Optimization | | Ron_McCabe0 -
Footer copyright year statement. good or bad
Hi, I see a lot of sites with a year copyright statment in the footer like Copyright 2011 - DomainName.com or Copyright 2002 - 2012 - Domainname.com since new year a lot of sites (founded before 2011) still have 2011 instead of 2012 in the footer. Do you think the date gives any signals to google? Should someone update the date or remove it completely? I would tend to remove it completely since the page date for google is submitted in the HTTP header. But maybe the info could be of any use for the user. Any best practices?
On-Page Optimization | | Autoschieber0