The HTTP code 301(moved permanently) is used for permanent URL redirection. Mainly important when you are migrating your site from HTTP to HTTPS. With companies like Google marking non-https sites as insecure, you want visitors to your site feeling secure when visiting your site. With Plesk control panel, you can easily set up the HTTP 301 redirection.
In this article, we are going to cover how to set up HTTP 301 redirection using Plesk.
- Plesk control panel
- Registered domain
- SSL certificate installed on your domain
How to Set up HTTP 301 Redirection using Plesk
Setting up HTTP 301
Login to Plesk and click Websites & Domains.
Next, find the domain name you wish to configure and click Hosting Settings.
Give plesk a few seconds to load, and you should see a window that looks like the following.
In the domain, settings go to the preferred domain and select the domain you want users to be redirected to.
In the Security settings section, check the SSL/TLS support and Permanent SEO-safe 301 redirect from HTTP to HTTPS then choose an SSL certificate from the drop-down menu that you want to use for the site.
Under certificate, click the drop-down menu and select Default Certificate (other repository) then scroll down and save your settings by clicking OK.
If you did set up everything correctly, you should see the following message;
Your site now uses a secure connection to any page request.
In the above article, we have looked at how to create a redirect from HTTP to HTTPS. It's a very straightforward procedure using Plesk. Remember that without HTTPS at the beginning of your sites' URL, browsers such as google chrome will mark your site as unsecured and your site will create the impression that it is unprofessional.