Bloxby Support Portal
  • Home
  • Knowledge Base
  • Forums
  • Register
  • Live Chat

Knowledge Base

  1. Home
  2. Knowledge Base
  3. Developer Manual
  4. How to force Bloxby to use https/ssl

How to force Bloxby to use https/ssl

  • Created November 1, 2017
  • Author Andrew Ozols
  • Category Developer Manual
  • Comments 2

If you find yourself wanting to have Bloxby use SSL instead of regular HTTP, you can modify your .htaccess file to redirect all URL’s to their https version. To achieve this, change the following lines:

RewriteEngine ON
RewriteBase /

to:

RewriteEngine ON
RewriteBase /
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301]

Then in the ‘application/config/config.php’ change:

$config['base_url'] = 'http://yourwebsitediman.com/';

to:

$config['base_url'] = 'https://yourwebsitediman.com/';

This will result in the application redirecting all http requests to https.

Was this article helpful?

Yes No

Related Articles

  • Update from v1.3.1 to v1.4.0
    • 0
    • 1759
  • Update from v1.3.0 to v1.3.1
    • 0
    • 1570
    • 1
  • Update from v1.2.3 to v1.3.0
    • 1
    • 1535
  • Update from v1.2.0 to v1.2.3
    • 0
    • 1805
  • Update from v1.1.4 to v1.2.0
    • 1
    • 1798
  • Automated login
    • 0
    • 2467
    • 1

2 Comments

  1. Avatar elvizzi
    8 years ago

    When I enable https my bloxby instance breaks. I loose the site theme/format. Any ideas?

    Log in to Reply
  2. Avatar elvizzi
    8 years ago

    The issue was the call to style.css was set to http. I edited config.php changing the base url to https for resolution.

    Log in to Reply

Leave A Comment? Cancel Reply

You must be logged in to post a comment.

Knowledge Base Categories

  • User Manual
  • General
    • Frequently Asked Questions
  • Developer Manual
    • Updates
    • Integration
    • Extending Bloxby
  • Admin Manual
    • Managing Blocks & Components

Popular Articles

  • Server Requirements
  • Installation Guide
  • Terms and Definitions
  • How to modify or develop Bloxby
  • How to configure Bloxby page builder

Knowledge Base Authors

  • Andrew Ozols
    Andrew Ozols
    Articles Authored: 138
  • Herbert
    Herbert
    Articles Authored: 4

Knowledge Base Authors

  • Andrew Ozols
    Andrew Ozols
    Articles Authored: 138
  • Herbert
    Herbert
    Articles Authored: 4

Forum Statistics

Forums
11
Topics
1,086
Replies
6,211
Topic Tags
250
© Bloxby 2019, All rights reserved