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
-
Best structure for a news website including main menu nav
Just looking for thoughts and opinions on the best way to set up the main nav on a news website that covers a specific professional services sector. There are news items, archived news, blog, events, but also main menu links to the numerous news categories that go to a page listing the news articles under that category (as created in Wordpress when publishing the article). I'm thinking that having these off the main nav is diluting the juice to the more important pages including the events and the news page? Just thinking about how to rearrange and consolidate. Any thoughts on how people would structure something like this?
On-Page Optimization | | sam_legmark0 -
How does the suggested website functionality work in Safari?
I don't seem to be able to find out much information on this one. Safari often shows a suggested website as you start typing a query into the browser. I've uploaded a screenshot to help show what I mean. safari-suggested-site.png
On-Page Optimization | | edwardlewis0 -
Meta Robots index & noindex Both Implemented on Website
I don't want few of the pages of website to get indexed by Google, thus I have implemented meta robots noindex code on those specific pages. Due to some complications I am not able to remove meta robots index from header of every page Now, on specific pages I have both codes 'index & noindex' implemented. Question is: Will Google crawl/index pages which have noindex code along with index code? Thanks!
On-Page Optimization | | Exa0 -
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 -
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 | | Dan_Brown10 -
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 | | KLLC0 -
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 | | joeko0 -
Http://www.xxxx.com does not re-direct to http://xxx.com
When typing in my website URL www.earthsaverequipment.com successfully re-directs to earthsaverequipment.com as specified in robot. However if you type http://www.earthsaverequipment.com it brings up a 404 error Is this a potential issue? if so is there a way to fix it? thanks
On-Page Optimization | | Earthsaver0