Skip to content

Instantly share code, notes, and snippets.

View seanryy's full-sized avatar
☂️

Sean seanryy

☂️
  • England, UK
View GitHub Profile
@seanryy
seanryy / Example Rewrite .htaccess
Created April 21, 2021 11:56
Simple Domain Migration htaccess Rewrite
# RedirectURLs permanently to new domain with SSL
RewriteCond %{HTTP_HOST} !^www\.yournewdomain\.com
RewriteRule (.*) https://www.yournewdomain.com/$1 [R=301,L]