banner



How To Clean Drupal Install In Godaddy

How to enable SSL use in Drupal

Updated on Nov 22, 2017

This tutorial will review the process of setting SSL on your Drupal installation. This will secure payment transactions on your website (if any) and make it look more professional in your clients' optics.

The first thing is to make sure that you have a valid SSL certificate on your domain name. This volition ensure that you tin keep further with the actual configuration of the SSL on your website. To get an SSL certificate on your domain, you lot first need to purchase it via your Customer Expanse → Orders. The installation is handled by our technical support team and yous do not accept to make changes on your finish.

Drupal automatically detects if y'all take an SSL installed on your domain. Thus, you volition be able to access your website with both the http and the secured https protocol. Nevertheless, if you lot would like to force an SSL redirection each fourth dimension someone is trying to access your website, such a redirect should exist configured within the .htaccess file of your website.

To accomplish that, yous need to log into your cPanel business relationship. Locate the File section and click on the File Manager service.

Access File Manager via cPanel

You volition meet a pop-up window. Yous need to enable the Home Directory and Show Subconscious Files (dotfiles)options.

File Manager options in cPanel

Then you demand to navigate to the location of your Drupal installation. In our case, this is located inside the public_html/ directory and and then a folder called drupal. When you access the folder of your Drupal website, simply select the .htaccess file and click on the Edit button at the acme menu.

Edit a file via File Manager in cPanel

Detect the line that says:

RewriteEngine on

When you do, merely enter the post-obit code below that line:

RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://world wide web.example.com/ [R,50]

where you lot need to alter example.com to your bodily domain name. The outcome of this change volition expect like similar the following.

# Various rewrite rules. <IfModule mod_rewrite.c>  RewriteEngine On  RewriteCond %{SERVER_PORT} 80  RewriteRule ^(.*)$ https://world wide web.case.com/ [R,Fifty]

When you are ready with the changes, simply click on the Save Changes button at the tiptop-right corner of the screen.

Source: https://www.fastcomet.com/tutorials/drupal/enable-ssl

Posted by: martinhalk1967.blogspot.com

0 Response to "How To Clean Drupal Install In Godaddy"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel