How To Avoid Being Flagged As a Non Secure Site by Google Chrome

Make Your Website Secure on Chrome, FixMyWP guide header image

The internet is now a part of our everyday lives and we routinely share sensitive and personal information with the websites we visit. Passwords, email IDs, addresses, phone numbers, credit card details and bank information – everything is shared. How certain are we that this information is kept safe by the receiving websites?

To be reassured of safety, look for the padlock (or, in newer versions of Chrome, the site information icon) in the address bar of the website. Also, take care that the address starts with ‘https’ and not ‘http’. You can see them in the address bar of this page. These are indicators that the website is using SSL certification and that the connection will be secure.

SSL creates an encrypted connection between your web server and the visitors’ web browser which cannot be viewed by third parties. ‘https’ in the address bar means all communication between your browser and the website is encrypted.

Some HTTP Sites To Be Labelled ‘Not Secure’ By Chrome Starting January 2017

The vast majority of Chrome page loads are now served over HTTPS. Encrypting your website may become a necessity faster than you think. Google Chrome has long term plans to mark all HTTP sites as non-secure. Chrome 56, released in January 2017, took Google one step closer to this goal, and since Chrome 68 (July 2018) every HTTP page is marked “Not secure”.

A number of features are already removed in Chrome when accessed over HTTP – geolocation, push notifications, HTTP/2 and getUserMedia(). The first websites that had to fall in line (in January 2017) were those that ask you to enter a password or credit card information. Otherwise, they were labelled as non-secure (shown below).

At the time, Chrome showed a neutral indicator for HTTP sites. Today, Chrome labels all HTTP pages as “Not secure” and turns the warning red when a visitor types into a form on an HTTP page.

So, if you are dependent on Chrome to bring traffic to your website, you need to add SSL/HTTPS to it. Otherwise, your site will be labelled ‘Not secure’ by Chrome.

As you can guess, eCommerce websites will be affected by this labeling, as they need users to log in and submit credit card details. Websites running WooCommerce, a popular eCommerce plugin, will similarly be affected. (If you are running a WooCommerce enabled website, and are looking to add functionalities to WooCommerce, our recent post, 7 Handy WooCommerce Plugins To Spruce Up Your Online Store can help you.)

If I’ve got you all worked up with this info, don’t fret too much. Read on and you’ll see that HTTPS/ SSL is not really the bugbear that it is made out to be.

What Is SSL / HTTPS ?

SSL is the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and a browser remains private and integral.

Hyper Text Transfer Protocol (HTTP) is the protocol over which data is sent between your browser and a website. HTTPS is the secure version of HTTP. The ‘S’ at the end of HTTPS stands for ‘Secure’. HTTPS is a way of creating a secure connection for safe data transfer.

Once the connection is established, the server encrypts the data so that only the final recipient can view and decipher it. To anyone who listens in on the sly, the data will only be a string of gibberish and make no sense. This makes it difficult for hackers to eavesdrop or inject malware.

Why You Need HTTPS ?

A load of personal and sensitive information like addresses, credit card details and email IDs, is shared on an everyday basis over the internet. When you load a website over HTTP, someone else on the network can look at or modify the site before it gets to the browser. Sensitive information can be stolen and misused.

An insecure connection is also susceptible to injection attacks.

With HTTPS sensitive personal information remains protected. HTTPS assures the user about the identity of the website, confidentiality between the website and the user’s browser and the integrity of the data passed between them. A user is able to communicate with the website over a safe and secure connection protocol.

Moreover, encryption reduces the scope for tracking by government or ISPs, minimizes malware injection, makes up at least partially for inadequate server infrastructure and reduces exposure to hacking.

Steps To Setup and Use SSL with WordPress

1. Obtain an SSL Certificate from a Certificate Authority: There are many companies like Sectigo, DigiCert, and SSL.com offering certifying services. You will need to apply for the certificate with website and ownership details.

Think your site has been hacked? We remove the malware, close the hole it came through and lock the site down for a flat $249. See malware removal →

When a visitor lands on a website that is not SSL enabled, this is the warning they will see:

Obtaining an SSL certificate need not be a costly affair and may turn out cheaper than you think. Certificates can be acquired easily and at negligible cost from SSLMate and for free from Let’s Encrypt. Most hosting providers now include a free SSL certificate (usually Let’s Encrypt) with their hosting plans.

You (or your host) generate a public and private key pair. Submit the public key, in a certificate signing request (CSR), to the Certificate Authority to create the certificate, but the private key isn’t for sharing with anyone. The keys are a string of cryptic letters and figures that fit each other like a lock and key. The SSL certificate is then issued, signed by a Secure Hash Algorithm.

2. Backup: An important second step is to back up your website. You are going to edit the .htaccess file and any error can break your site. So be cautious and back up first.

3. Adding SSL to Admin Area and Login Pages: Find the wp-config.php file. Look for the line near the bottom that reads:

				
					/* That's all, stop editing! Happy publishing. */
				
			

Just above that line, paste this piece of code:

				
					define('FORCE_SSL_ADMIN', true);
				
			

This code string makes sure that your login pages and admin areas are reached only through the SSL mode.

Now that you have added the SSL to your login page, you need to redirect visitors to the secure HTTPS site, instead of the original HTTP site.

To do this, locate the .htaccess file in your site’s root folder and paste the following code at the top:

				
					RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.examplewebsite.com/$1 [R=301,L]
				
			

Make sure to replace “www.examplewebsite.com” with your site URL. Once you’ve done this, visit your website and view the address bar. ‘https’ should now appear alongside the padlock. See the image below:

4. Adding SSL site wide: To do this, go to Settings > General in your WordPress admin and change the WordPress Address and Site Address to start with https://.

You can also move your entire website to SSL with the help of a light and capable plugin, Really Simple Security (formerly Really Simple SSL). This plugin replaces all your ‘http’ URLs with ‘https’, except the links to external domains. The changes are dynamic, so the database is left untouched (except for the site URL and domain URL). A single click can enable SSL across the website.

The plugin is multisite ready, and can be activated over the entire network or on a per site basis.

5. Adding SSL only to some pages: This used to be done with a plugin called WordPress HTTPS (SSL). That plugin has since been closed on WordPress.org and should not be used. Because Chrome now flags every HTTP page, run the whole site over HTTPS (step 4) instead.

You can read more about running WordPress over HTTPS in the WordPress Advanced Administration Handbook.

★★★★★
After a week dealing with my web host, no one knew how to fix the issue with my SSL Certificate. … Then I found FixMyWP!!! They had my issue fixed in just a few hours, way more than what i expected.
Suharmi
k9rf.com

Concerns about HTTPS

Data has to be encrypted by the server and decrypted at the browser end. This can create latency that can hamper performance. Speed can take a hit and this can affect search engine ranking.

It is true that search ranking is likely to dip a little at the time of transition, but it is equally likely to bounce back to pre transition levels quickly, just as it happens in the case of any transition. Also, the dip in speed may be offset by the small ranking boost given by Google to HTTPS/ SSL sites. The benefits of moving to HTTPS easily overshadow any temporary dip in speed.

Additionally, there is scope for technical optimizations (HTTPS is required for HTTP/2, which usually makes sites faster), so you don’t have to sacrifice speed all that much. You can refer to Google’s Guide on how to move a site to HTTPS without slipping in search engine rankings.

Referrer Headers and Ad Revenues are the other two areas of concern while making the move to HTTPS. But with search engines migrating to HTTPS, user agents and advertisers will also be required to move to HTTPS eventually. You can also check out our earlier post on How To Recover The Lost Google Analytics Referral Data to take remedial measures.

Final Thoughts

With HTTPS & SSL becoming inevitable in the long run, it is essential to plan the movement of your website from HTTP to HTTPS before it becomes an emergency. Besides being mandated by Google, HTTPS / SSL is a good security cover for your website and you pretty much owe it to visitors who share sensitive information on your website.

So go ahead, get your SSL certificate, make the transition to HTTPS and reassure users that your website is worthy of their trust.

Think your site has been hacked?

We remove the malware, close the hole it came through and lock the site down. Flat rate of $249, usually done the same day or within 24 business hours.

See malware removalNot sure? Answer 4 quick questions

In this article

Need a hand with your site?

Answer four quick questions and see your flat price before you pay. Most fixes are done the same day or within 24 business hours.

Related articles