Once on https should Moz still be picking up errors on http
-
Hello,
Should Moz be picking up http errors still if the sites on https? Or has the https not been done properly? I'm getting duplicate errors amoung other things.
Cheers,
Ruth
-
Wow - sorry this question slipped past, Ruth.
As long as the proper HTTP redirect has been written to HTTPS, there's nothing that needs to be done with canonical tags.
The beauty of 301-redirects is that they are server directives - once in place, its no longer even possible to reach the non-HTTPS URLs. The HTTPS URLs should of course still keep their own self-referential canonical tags, but that's handled automatically in most CMSs (Content Management Systems like WordPress.)
Hope that covers what you were asking?
Paul
-
Hi Ruth,
I am more than happy to help. Please have a look at these resources if you believe the migration has not been done correctly.
Please have a look at these resources I think they will be immensely helpful. Please remember the Google doc referenced in number one is available in line 3 as well as In the instructions anchor text on line 2.
- https://www.aleydasolis.com/en/search-engine-optimization/http-https-migration-checklist-google-docs/
- To easily make a copy, add to your own Drive, download or print, go to the Google Docs, then choose “File” and select your preferred option: (Or use link below)
- https://docs.google.com/spreadsheets/d/1XB26X_wFoBBlQEqecj7HB79hQ7DTLIPo97SS5irwsK8/edit?usp=sharing
Please let me know if I can be of any help,
Thomas
-
Thanks, Thomas will have a look at those.
-
Hi Ruth,
Paul brought up a very good point.
If using Apache and it sounds like you are you can force the HTTP to HTTPS redirect using
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]</ifmodule>See this for more https://www.aleydasolis.com/htaccess-redirects-generator/https-vs-http/
301 Redirects are in place verify that by using a tool like this one. you can drop all the URLs you want to check in here. https://httpstatus.io/
Then make sure any HTTP is a 301 and any HTTPS is a 200
Then run a search and replace
http://mydomain.com
tohttps://mydomain.com
http://www.mydomain.com
tohttps://www.mydomain.com
If you are running a WordPress website this is a very effective plug-in ( and free if you type the name into wordpress.org's plugin repo)
https://bettersearchreplace.com/ or https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Your canonical tags (unless very good reason like third-party content) should be self-referencing meaning add canonical's to the https:// urls not the http:// URLs like below. A good example is what you see below
Moz will tell you as will https://www.screamingfrog.co.uk/redirect-checker/ & https://deepcrawl.com will easily find any of the problems. some references below for rel-canonical tags
https://moz.com/blog/rel-canonical
https://yoast.com/rel-canonical/
Last but not least here is a wonderful tutorial that goes over migrating from http to https
https://www.keycdn.com/blog/http-to-https/
I hope this was of help,
Tom
-
Hi Paul,
Yes thank you, that's brilliant and confirms what I've been thinking - that the https hasn't been done properly as they're not redirecting when going to the http version. I thought the client had at the htaccess so will look into that.
If the redirects are done properly do I need to add canonical tags or are the redirects enough? Just want to make sure I'm covering all bases.
Thanks so much for your advice.
Cheers,
Ruth
-
You need to ensure that the HTTP version of the site's URLs are no longer reachable, Ruth. That means adding a 301-redirect to force all URLs to their HTTPS versions. This is the most likely cause of your issue
To test, simply go to a page URL in the browser address bar and remove the s from the HTTPS and hit enter. Watch what happens. If the address bar shows the automatic change back to the HTTPS version of the URL, you're good. If it doesn't, you'll need to add the redirect.
You should also ensure that all the internal links within the site have been rewritten to use the HTTPS version of the URLs - like menus, sidebars, widgets, and in-content links to other pages.
Hope that helps?
Paul
-
Thanks, Thomas. The https urls are in place but I was concerned that if the http urls are showing up still that the move to https hasn't been done properly.
-
Do a search & replace on your site then recheck it.
search for HTTP url's & replace with https URL's
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
-
Find all external 404 errors/links?
Hi All, We have recently discovered a site was linking to our site but it was linking to an incorrect url, resulting in a 404 error. We had only found this by pure chance and wondered if there was a tool out there that will tell us when a site is linking to an incorrect url on our site? Thanks 🙂
Technical SEO | | O2C0 -
How to change 302 redirect from http to https
Hi gang. Our site currently has a 302 redirect from the HTTP version of the homepage to the HTTPS version of the homepage. I understand this really should be changed to a 301 redirect but I'm having a little trouble figuring out exactly how this should be done. Some places on the internet are telling me I can edit our htaccess file to specify the type of redirect, however our htaccess file seems to be missing some of the information in theirs. Can anyone tell me what needs to be changed in the htaccess file - or if there's a simpler way to change the 302 to a 301? Many thanks 🙂 htaccess: BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress EXPIRES CACHING ExpiresActive On ExpiresByType image/jpg "access plus 6 months" ExpiresByType image/jpeg "access plus 6 months" ExpiresByType image/gif "access plus 6 months" ExpiresByType image/png "access plus 6 months" ExpiresByType text/css "access plus 10 days" ExpiresByType application/pdf "access plus 10 days" ExpiresByType application/x-shockwave-flash "access plus 10 days" ExpiresByType image/x-icon "access plus 6 months" ExpiresDefault "access plus 2 days" EXPIRES CACHING
Technical SEO | | davedon0 -
Yoast and Standard theme: Fatal error
Hi all- A client has tried installing Yoast on her site and received at fatal error (below). She's been able to restore her site and get it functioning again, but I'm wondering if there's a work around so we can use the plugin. It's a Wordpress site using the Standard Theme. I've searched the forums (and here!) and haven't found anything helpful yet. Do you have any suggestions? Thanks! "Fatal error: Cannot redeclare yoast_breadcrumb() (previously declared in /vservers/nwconstructi/htdocs/NWCL/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php:108) in /vservers/nwconstructi/htdocs/NWCL/wp-content/themes/StandardTheme_272/lib/standard_yoast_breadcrumbs.php on line 280"
Technical SEO | | DonnaDuncan0 -
Redirect of https:// to http:// without SSL. Possible or not?!
Good afternoon, smart dudes : ) I am here to ask for your help. I posted this question on google help forum and stackoverflow, but looks like people do not know the correct answer... QUESTION: We used to have a secured site, but recently purchased a separate reservation software that provides SSL (takes clients to a separate secured website) where they can fill out the reservation form. We cancelled our SSL (just think its a waste to pay $100 for securing plain text). Now i have so many links pointing to our secured site and i have no idea how to fix it! How do i redirect https://www.mysite.comto http://www.mysite.com.Also would like to mention that i already have redirect from non www to www domain (not sure if that matters): RewriteEngine onRewriteCond %{HTTP_HOST} ^mysite.com$ [NC]RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]As i already mentioned....we do not have SSL!!!! None of those 301 redirect codes i found online work (you have to have SSL for the site to be redirected from https to http | currently i get an error - can't establish a secured connection to the server ). Is there anything i can do???? Or do i have to purchase SSL again?
Technical SEO | | JennaD140 -
What could be the cause of this duplicate content error?
I only have one index.htm and I'm seeing a duplicate content error. What could be causing this? IUJvfZE.png
Technical SEO | | ScottMcPherson1 -
404 Errors
Hello Team, I noticed that my site has 1,000s of 404 errors. Not sure how this happened, maybe when I updated our CMS. My question is, should I worry about them. Should I delete them or just leave them alone. Thank you for your feedback!
Technical SEO | | Dallas0 -
How do you disallow HTTPS?
I currently have a site (startuploans.org) that runs everything as http, recently we decided to start an online application to process loan apps. Now, for one certain section we configured ssl to work (https://www.startuploans.org/secure/). If I go to the HTTPS url for any of my other pages they show up...I was going to just 301 everything from https but because it is in a subdirectiory I can't... Also, canonical URL's won't work either because it's a totally different system and the pages are generated in an odd manor. It's really just 1 page that needs to be disallowed.. Is there any way to disallow all HTTPS requests from robots.txt while keeping all the HTTP requests working as normal?
Technical SEO | | WebsiteConsultants0 -
Google cached https rather than http
Google is using a secure version of a page (https) that is meant to be displayed using only http. I don't know of any links to the page using https, but want to verify that. I only have 1 secure page on the site and it does not link to the page in question. What is the easiest way to nail down why Google is using the https version?
Technical SEO | | TheDude0