• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Gokul Deepak

Gokul Deepak

GoCool and Debug

  • Home
  • Terraform
  • Tools
  • WordPress
  • Android
  • How to
  • About Me

Apache

Change from http to https in your website through htaccess

November 28, 2017 by Gokul Deepak S Leave a Comment

simply add this rewrite rules to the starting of the codes in .htaccess files. You can Change from http to https in your website through htaccess

RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

Filed Under: Apache

Primary Sidebar

Popular Pages

  • Home
  • Important Docker Commands to remember
  • How to Show Only Post Title in Label Page
  • Cloudflare SSL off vs Flexible Vs Full vs Full Strict
  • Ways to Earn from Online
  • All pages in my website works except wp-admin
  • Add Text Start or End in each line - Notepad++
  • PM2 Cheatsheet - Important Commands
  • Custom Breadcrumbs in Genesis Theme
  • How to convert CR2 to JPG format for free and easy

Archives

Categories

  • Android
  • Apache
  • AWS
  • Blogger
  • Computer Tips
  • DevOps
  • Docker
  • Earn
  • Facebook Tips
  • Git
  • Google Tips
  • Hosting
  • How to
  • Laptop Tips
  • Laptops
  • Linux
  • Mobile
  • MongoDB
  • Nginx
  • Node JS
  • Notepad++
  • PostgresQL
  • Terraform
  • Ubuntu
  • Wordpress
  • Xenforo

Tags

Android Android One AWS Bluehost Comparisions Custom ROM Elementor Facebook Genesis Genesis Sample Theme Google Drive How to Lineage OS Notes OnePlus One OwnCloud Rooting Smartphones Stock ROM Studiopress Tomcat Wordpress plugin

Copyright © 2025 ยท Maintained by GokulDeepak