Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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