background img
Jan 17, 2019
0 0

Setup and Install SSL Certificates on WordPress Multisite

Written by

buy antabuse australia Install SSL Certificates whenever you want to create a network of local businesses with a subsite for different owners, then the only option is WordPress Multisite. Note that the only restriction in this scenario is that all subsites should be hosted on the same hosting provider. However, many tools like MenWP can help you manage individual WordPress sites regardless of the hosting provider.

If you have your own dangers of popularity, then this is the same with WordPress. It has now become the most preferred goal for hackers to steal data depositing the form. It should be noted here that this data may include user credentials and financial information such as credit card details.

Generally, to prevent this, the experts highly recommend buy accutane nz WordPress MultiSite SSL. Because Secure Socket Layer (SSL) is a secure encrypted protocol that makes data transportation completely safe and unreadable by malicious users/bots on the Internet.

Install SSL Certificates

Many researchers started an open-source project called Let’s Encrypt to promote shared information security on the Internet. Let’s Encrypt SSL certificates, act as a bridge between the user’s browser and the server. This ensures that the user’s communication encrypt and secure on the Internet.

We provide Let’s Encrypt Free SSL certificate to help secure the application for our customers, on CloudWebs. We have got several questions about installing the WordPress Multisite SSL certificate.

Therefore, in this article, I will discuss how you can easily install WordPress Multisite SSL certificates on all subsites.

Add SSL Certificate to WordPress MultiSite

After properly installing and configuring WordPress multisite, go to WordPress Multisite Application and map your primary domain under the Domain Management section.

Once pointing to the primary domain and being successfully promoted from the domain registrar, proceed and add sub-domains of other WordPress subsites in the multisite setup.

If you are unsure about adding a subdomain, then go to the Domain Management tab and under the Additional Domains, the section adds subdomain and the ‘ Save changes ‘button

Now, navigate to the SSL certificate tab, and follow the next steps to add SSL certificates to WordPress multisite and subdomains.

Encrypt wildcard facility for subdomain Install SSL Certificates

This feature lets users easily add SSL certificates to sub-domains.

This is ideal for WordPress multisite networks, which contain many subdomains because it eliminates the need to add SSL certificates individually to each subdomain.

Once the subdomains are added to the Domain Management tab, go to the SSL Certificates tab and check the box for the wildcard in front of the domain name area.

Add a new CNAME record to your domain registrar. For the purpose of this article, I have added an entry in the form of hostname _acme-challenge and the same value as my WordPress staging URL highlighted in the screenshot above.

Note that in this example the using Namecheap as the domain registrar.

 SSL Certificates

Verify DNS before installing the SSL wildcard feature. You can verify whether the CNAME is promoted using the online tool, what my DNS.

Install SSL

Copy the full URL _acme-Challenge.DOMAIN NAME inside the input field and run the test.

Bus! Once the CNAME record has been successfully promoted, the SSL certificate will automatically be applied to all subdomains.

WordPress multisite SSL certificate for mapped domain

To assign different domain names to a subset of WordPress multisite networks, add additional domain fields in the SSL Certificates tab.

Install SSL Certificates multisite

It will apply an SSL certificate for all domains in the list.

Now, remember to add a domain in the Domain Management tab as I did before when adding additional domains so that the WordPress Multisite Network can identify which domain name is related to which Sukol.

If your MultiSite is a combination of subdomains and several mapped domains, then you must add each subdomain and mapped domain individually under the SSL Certificates tab in the list.

The wildcard facility is most suitable for the multisite network, which uses only the subdomain setup. This is the easiest way to apply SSL certification for many certificates.

Converting URLs to HTTPS Install SSL Certificates

To change the internal URL, go to the WordPress Admin Panel. Go to Settings General. Change the WordPress and site address URL from HTTP to HTTPS. To save the new settings, press the Save Changes button.

Install SSL Certificates wordpress

Identify Mix Content

In this guide, I’m more focused on the sub-domain, so it is important to make sure that all the sub-domains have the same URL. The mix of HTTP and HTTPS URLs is not uncommon in the Multiset setup.

This is why it is important to make sure that all URLs have the same protocol (preferably HTTPS). To find this problem in the URL, use an online tool for JitBit to check non-SSL content.

Copy and paste your root URL and start the trial. This will crawl your site and will list all the URLs with the HTTP prefix.

Install SSL Certificates

Fixing them is to easy with a plugin WP Migrate DB. Plugins Add to the new and install this plugin. Once installed, go to Plugin Settings and click on the first tab that says Migrate.

Install SSL Certificates

Paste the old URL with the Find column and HTTPS in the Change column. Hit Find & amp; Change the button to begin the process.

Auto Redirect from HTTP to HTTPS

It is also important to automatically redirect your visitors to HTTPS addresses from HTTP. If your site still uses HTTP from other sites and is not updated by the owners of their website, then there is also a need to use the backline of your site.

To do this, you have to make some adjustments in your WordPress .htaccess file.

Note: Altering .htaccess file is a risk and if things go wrong, then it can harm your WordPress site. It is advisable to back up your .htaccess file before making any changes.

Now that you have backup your .htaccess file, access the file from your root directory and open it in the text editor of your choice. At the beginning of the document, add the following lines Install SSL Certificates.

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

Your last .htaccess file should look something like this.

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Google Search Console

Google crawls your WordPress site to update your website’s structure and its record of content. At this point, Google does not yet know that my website is now on HTTPS.

To track HTTPS links in Google, I need to log in to the Google Analytics Dashboard. Within the Administrators area, locate your desired asset and click Property Settings.

From the drop-down menu, change the Default URL from HTTP to HTTPS.

Go back to the previous step and click on View tab .

Here, you can find the Website URL drop-down. Select HTTPS from the list.

Bus! Now Google will start tracking your new URL with HTTPS.

Add SSL Certificate to WordPress Multisite Subdirectory

It should be noted here that the above guide was for sub-domains only. If your WordPress multisite network is based on sub-borders, then you only need to add an SSL certificate for the primary (main) domain. There is no need to do any additional work to link to SSL for WordPress multisite subdirectories.

Congratulations! You are done with WordPress multisite SSL setup.

If you need help contact us

Article Categories:
WordPress Tricks and Tips

Leave a Reply

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

The maximum upload file size: 512 MB. You can upload: image, audio, video, document, text, other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here