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.
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
-
Https://www.fitness-china.com/pilates-equipment How to find the most relevant internal link pages
https://www.fitness-china.com/pilates-equipment How to find the most relevant internal link pages? site this page, find https://www.fitness-china.com/pilates-equipment-kr and https://www.fitness-china.com/pilates-equipment-jp Is there any other better way
On-Page Optimization | | ahislop5740 -
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 -
Should I leave away the http when using the canonical tag
My site redirects http://www.anydomainblabla.com to www.anydomainblabla.com So I guess I have to do it like this Is that correct? Big thanks for your time.
On-Page Optimization | | MichaelJanik0 -
Internal links are not indexed of the website
Some internal links are indexed and some not of the same page of the website, what is the so and what is the reason behind?
On-Page Optimization | | renukishor10 -
Meta titles and description for subcategory pages in CMS websites
I have a CMS based site and for that I am getting duplicate page title and description error message, for my all sub-category pages. What can I do for this because write Meta title and description for each page for CMS based website is not possible.
On-Page Optimization | | 1akal0 -
Which redirect to use when redirecting to https page from http page
I have one form under https which is redirected from the regular http page. this site was not made by me and I am trying to understand if the way it was redirected using 302 redirect is a problem Thanks
On-Page Optimization | | ciznerguy0 -
Website redesign: site going from .php to .html
A site I'm working on is being redesigned because the current platform does not allow for content to be changed easily. In the process, they are going from .php to .html. I am concerned about their losing link juice. Can a site work with the old content remaining .php and the new content being .html or should all pages stay .php?
On-Page Optimization | | cakelady0 -
HTTP Headers
I ran an independant SEO test that recommended I do the following: Missing Header: Cache-Control header missing, should be presentMissing Header: Content-Length header missing, should be presentMissing Header: Content-Encoding - why don't you try using gzip or deflate?Missing Header: Expires header missing, should be presentMissing Header: Last-Modified header missing, should be presentIs any of this necessary?
On-Page Optimization | | BradBorst0