7-Views
  • Mysql
  • WordPress
  • HTML

https via htaccess Archives - 7-Views

Force your site to load securely with an .htaccess file in apache

Posted by Bhagwat Singh
October 31, 2018

If you have added an SSL certificate to your domain, you can force all visits to your site to use HTTPS to ensure your traffic is secure. This page lists examples on how to do this depending on how your site is hosted. RewriteEngine On RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

read more

  • force https
  • Forcing HTTPS
  • https redirect in apache
  • https via htaccess
94 Comments
 
 
Recent Posts
  • How to ignore TypeScript errors with @ts-ignore?
  • Disable ONLY_FULL_GROUP_BY
  • How to install PhpStorm On Ubuntu
  • How to Configure SMTP using MailHog in Laravel using Homestead
  • Check For Foreign Key Constraint Violation In Laravel
Tags
add_theme_support admin bar hide aws creating widget dns featured image featured image wordpress https issue https with load balancer laravel login logout mysql nginx query server show_admin_bar tags update wordpress Wordpress widget
Categories
  • Angular
  • AWS
  • Bootstrap
  • Cloud
  • CodeIgniter
  • File System
  • General
  • geocoder
  • htaccess
  • HTML
  • Javascript
  • Jquery
  • Laravel
  • Mysql
  • PHP
  • TypeScript
  • Ubuntu
  • Wordpress
© 2018 7-Views