Skip to content

Raz Rassel

  • Home
  • About Raz
  • Contact Raz
  • Buy Now
YouTube Spotify
Raz Rassel
Web Dev

http to https in htaccess

## Begin – Force https
#
# If you need to redirect some pages, or set a canonical http to
# https redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#Force www and https:
RewriteEngine on

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#
## End – Force https

Post navigation

Previous Previous
non-www to WWW in htaccess
NextContinue
SPF record to prevent spam delivery

Similar Posts

  • Web Dev

    Remove Browser Meta Title Tooltips

    Read More Remove Browser Meta Title TooltipsContinue

  • Web Dev

    Repsonsive Video embed

    Read More Repsonsive Video embedContinue

  • Web Dev

    Disable Cache while Chrome Developer Tools is open

    Read More Disable Cache while Chrome Developer Tools is openContinue

  • Web Dev | Wordpress

    Woocommerce default shipping selection

    Read More Woocommerce default shipping selectionContinue

  • Web Dev

    Adwords Call Forwarding testing

    Read More Adwords Call Forwarding testingContinue

  • Web Dev

    SPF record to prevent spam delivery

    Read More SPF record to prevent spam deliveryContinue

YouTube Spotify
  • Home
  • About Raz
  • Contact Raz
  • Buy Now

© 2026 Raz Rassel

Scroll to top
  • Home
  • About Raz
  • Contact Raz
  • Buy Now