Call me now:(+44) 0800 123 4567

IntoNetworking

A beneficiary of the interweb

  • Home
  • About Me
  • Cisco
  • Microsoft
  • Unix
    • Apache
  • VMware
  • WordPress
  • TSHOOT
  • Contact Me
facebooktwitteryoutube

How to make all web pages redirect to HTTPS via .htaccess

Posted by admin in Home, Wordpress, on July 25, 2017

Within you .htaccess file you will need to enter the following:

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

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Tags: .htaccess, ssl

Twitter

My Tweets

Recent Posts

  • Expand a Hard Disk with Ubuntu LVM
  • VDC Edge Gateway – Creating site-to-site VPN
  • Apple Mac causing internet issues on home network
  • vi command to replace [sometext] with [someothertext]
  • 301 redirect sub page to another site

Categories

Archives

  • May 2018
  • July 2017
About Us

This is website basically filled with knowledge

Contact Us

Brighton, UK

Tel: (+4) 0746123456

E-mail: admin@intonetworking.co.uk
Map

PlumBelt Lite powered by WordPress