How to force SSL in vBulletin

Updated on Apr 11, 2016

This tutorial will review the process of enabling SSL use on your vBulletin website. This will allow the users on your website to always access it using the secured https protocol. It will keep their sensitive information (such as credit card details) safe. To configure and force SSL use on your vBulletin website, you need to complete two steps first.

 

The first thing you will need to do is to get a valid SSL certificate for your domain. This is a paid service that you can purchase via your Client Area. Then, you can set a forced SSL use via the .htaccess file of your vBulletin website. For that purpose, you will have to access your cPanel account and then navigate to the File Manager service.

 

Access File Manager in cPanel

 

Select the Home Directory and Show Hidden Files options. When ready, click on the GO button to proceed.

 

Edit File Manager options

 

Navigate to the directory, where you have installed vBulletin. In our example, we have completed that installation within the public_html/ directory. In there, locate and select the .htaccess file and then click on the Edit option at the top menu.

 

Edit a file in File Manager

 

To force SSL use, enter the following lines of code at the top of the file:

 

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R=301,L]

 

Don't forget to substitute the domain.com with your actual domain name and then click on the Save Changes button.

On this page...

    vBulletin Hosting

    • Free Installation
    • 24/7 vBulletin Support
    • Free Domain Transfer
    • Hack-free Protection
    • Fast SSD Storage
    • Free Cloudflare CDN
    • Free vBulletin Transfer
    • Immediate Activation
    View More