To ensure all visitors use the secure HTTPS version of your website, it’s important to set up a redirect that automatically sends anyone accessing the HTTP version to HTTPS. This improves security, boosts SEO, and helps protect your visitors’ data.
Why Force HTTPS? #
- Prevents users from accidentally browsing an unsecured version of your site
- Ensures all data is encrypted during transmission
- Helps with search engine rankings as HTTPS is favoured by Google
- Avoids browser warnings that can scare visitors away
Method 1: Using AeroWave’s Hosting Portal (Recommended) #
- Log in to your AeroWave hosting control panel.
- Navigate to the SSL/TLS or Security section.
- Find the toggle labelled Force HTTPS.
- Turn the toggle ON to enable automatic redirection from HTTP to HTTPS.
- The change will take effect immediately.
- Test by visiting your website’s HTTP address — it should automatically redirect to HTTPS.
Method 2: Using .htaccess (For Apache Web Servers) #
- Access your website files via your hosting control panel file manager or an FTP client.
- Locate the .htaccess file in your website’s root directory. If it doesn’t exist, create a new file named .htaccess.
- Add the following code to the top of the .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
4. Save the file and upload it back if using FTP
5. Test your website by visiting the HTTP version, this should automatically redirect you to HTTPS
Method 3: Using Domain Redirects #
- Log in to your AeroWave hosting control panel (cPanel).
- Navigate to the Domains section and click Redirects.
- Select your domain and choose Permanent (301) redirect type.
- In the Redirects to field, enter your website’s HTTPS URL (e.g., https://yourdomain.com).
- Save the settings.
- Test the redirect by visiting the HTTP version of your website.
Method 4: Using A CMS Plugin (e.g., WordPress) #
If you use a content management system like WordPress:
- Install and activate an HTTPS redirection plugin such as Really Simple SSL.
- The plugin will detect your SSL certificate and automatically handle the redirect.
- Follow the plugin’s instructions for full configuration.