How to fix your connection is not private error?

Most of us have a laid back attitude when it comes to SSL and its security protocol. Using this protocol on the website will secure the confidential information of the website, and in fact the information of the site, such as bank account information, will be exchanged between the user and the server in a secure format , and hackers will have difficulty accessing this information. In general, websites that do not have the above protocol are considered insecure and therefore the user will encounter the message your connection is not private .

In this article, the Academy of Digital SEO Marketing and WordPress intends to acquaint you with how to resolve this message.

People who work with WordPress and manage a website are familiar with the concept of SSL . Most of us have a laid back attitude when it comes to SSL . When you enable the above security protocol on your WordPress website and transfer data using secure encryption between server and client, an error may occur and you may encounter problems. In fact, this tutorial is going to talk to you about how to fix SSL errors and problems .

Our general advice to you is to be sure to use the SSL protocol for your online store so that the user can be sure that his information is safe. Join us to fix your connection is not private error .

What is SSL ? 

SSL is a security protocol that allows you to securely transfer confidential information about your website, such as a bank account password, between the server and the user; And prevent hackers from accessing this information. Websites without an SSL protocol are generally considered insecure.

Be sure to read: SEO analysis and site analysis 

  All about the YITH WooCommerce Product plugin

What is the error Your connection is not private ?

The message shown on the Google Chrome can be. In principle, the implementation of some of the Web site , with the error log. This message warns the user that the connection with your site is unsafe.

This error message may also indicate that the user’s browser does not accept the protocol provided by your website;

The reason for this can be found in the following cases:

SS The SSL protocol is issued for another domain or subdomain.

Your browser does not recognize the issued protocol.

Your protocol has expired.

So you need to contact an SSL provider (or your own web host) and request an SSL installation .

 

Fix your connection error is not private after installing  SSL

This error by resources such as images, scripts and protocols (protocol still uses HTTP insecure URL is loaded) appears. In this case, you will not see the secure lock icon in the address bar of your website. So to solve the Mixed Content error in WordPress, you have two solutions:

1) Fixed Mixed Content error using plugin

2) Fixed Mixed Content error  in WordPress manually

1) Fixed Mixed Content error using plugin 

The first way is to use the Really Simple SSL extension to fix this problem . At this point, just install and activate the Really Simple SSL plugin . This plugin is free and you do not have to pay anything to use its features. To install and activate this plugin, you can ask for help and guidance from the plugin installation guide in WordPress.

 

Install Really Simple SSL plugin

After activating this plugin, a new option called SSL will appear in the WordPress counter settings menu . The plugin then automatically fixes the Mixed Content error using the output buffer technique and monitors the SSL / HTTPS settings .

 

2) Fixed Mixed Content error in WordPress manually 

If for any reason you do not want to use the plugin to fix this error, then you have to do it manually. The first step is to make sure you are using HTTPS in your WordPress settings.

To do this, go to the General “Settings” counter and make sure that the “WordPress URL / Site URL” options have an HTTPS address , and also change the URLs that started with HTTP to HTTPS and save them at the end. Build.

Now you need to find the old HTTP URLs from your WordPress database and replace them with the new HTTPS URLs . You can also use the Better Search Replace plugin to do this and replace URLs. This plugin is also free and you can install it from WordPress Bank and on your website.

After activating this plugin, the Better Search Replace option will be added in the tools menu, which you must click on and enter the settings page of this plugin. Now you have to enter the HTTP address in the Search field and the HTTPS address in the Replace field . This plugin now updates the URLs in your WordPress database.

If you get a Mixed Content error again , troubleshoot the URLs in your WordPress template and plugins. With the Inspect  tool you can find the path of the folders in which this error occurred and replace HTTP with HTTPS . This can be a little tricky for beginners; Because they have to search for URLs in all template files.

Fix Too Many Redirects error after transfer to   SSL / HTTPS

Another error that you may encounter after switching to SSL / HTTPS is the Too Many Redirects error . If you encounter this error message on your website, run this process:

; (Define (‘FORCE_SSL_ADMIN’, true

  What is Gzip plugin and how to install it on WordPress?

To fix this error, use the following code before the line “ That’s all, stop editing! Happy blogging ”in the wp-config.php file .

; (Define (‘FORCE_SSL_ADMIN’, true

// in some setups HTTP_X_FORWARDED_PROTO might contain

// a comma-separated list eg http, https

// so check for https existence

if (strpos ($ _ SERVER [‘HTTP_X_FORWARDED_PROTO’], ‘https’)! == false)

$ _SERVER [‘HTTPS’] = ‘on’ ;

Fix your connection is not private error in WordPress

WordPress does not automatically redirect HTTP requests to HTTPS . You can redirect without using the plugin.

To do this, simply put the following code into the file. Add htaccess  :

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond% {HTTPS} off RewriteRule ^ (. *) $ Https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301] </IfModule>

I hope this article has been useful for those who want to solve their WordPress and site problems without the help of others.

Leave a Reply

Your email address will not be published. Required fields are marked *