Currently, there is no need to talk about the need to operate any site together with an SSL/TLS certificate, even for an ordinary, static site or blog. No website owner wants their website to be marked as dangerous by the browser. In short, you must have a certificate for the website. The certificate itself is not a problem, but redirection to the encrypted HTTPS version is often difficult. If you are dealing with redirecting to HTTPS under WordPress, you are in the right place and the text below will teach you how to do it flawlessly.
Prerequisites for this tutorial
To use encrypted HTTPS communication, you must have an SSL/TLS certificate generated and installed. Most web hosts today offer a basic SSL certificate for free. For example, on Czechia.com you have the option of simply adding an SSL certificate to each of your domains that is located on the DNS of this provider.
So there is no problem to activate the address with https. However, what may surprise the website owner is the situation when the HTTP address is not automatically redirected to the encrypted version of HTTPS. We will show you how to solve this problem very easily under WordPress below.
Redirecting to HTTPs using a plugin
The easiest solution to resolve redirects to HTTPS in WordPress is to use the Really Simple SSL plugin . The correctness of this choice is underlined by more than 4 million active installations of this plugin. In the next section, we’ll show you how to set up redirects and more.
We search for Really Simple SSL in the plugin repository and click the Install button . After installation, we activate the plugin . Don’t worry, the redirect will not be set to HTTPS at this time.
A dialog message pops up above the list of installed plugins, informing us about the possibility of switching to HTTPS.
Even before confirming this message, I recommend checking by manually entering the HTTPS address of your website (just click in the address bar and rewrr the website really works on the HTTPS version. If your website loads without problems, we can continue by clicking the blue button Go ahead, activate SSL!
Additional settings
Due to the transition to the secure version, you will have to log in to the WordPress administration again. After entering your credentials, visit the settings page for this plugin. You can find it in the left menu, under the Settings section , the SSL item. An overview with the default/detected plugin settings will open. If your WordPress is running under the Apache web server, the plugin will russia phone number data immediately warn/recommend you to activate the option: Enable 301 .htaccess redirect in the subsequent Settings. It is this message:
WordPress 301 redirect enabled. We recommend enabling the 301 .htaccess redirect option on your specific setup. Enable or dismiss.
So, open the settings by clicking on the top Settings tab and activate the Enable 301 .htaccess redirect option . Thanks to this the final steps we are taking to prepare for christmas sales option, the plugin modifies the .htaccess file, in which it sets a permanent redirect, which is not performed on the WordPress side, but directly on the web server.
It follows from the case log that to activate bw lists the Enable 301 .htaccess redirect function, .htaccess must be supported on the web server . .htaccess support is an absolute standard these days, at least on.