Skip to content

Instantly share code, notes, and snippets.

  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save laseoservice/30041e195e8f7c8ead088f1a6d85435d to your computer and use it in GitHub Desktop.
Implementing HTTPS 301 redirect to new secure a domain in htaccess for optimal SEO
RewriteEngine On
RewriteCond %(HTTPS) on
RewriteRule (.*$) https://www.laseoservice.com/$ [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment