Skip to content

Instantly share code, notes, and snippets.

@S-n-d
S-n-d / .htaccess
Last active Dec 2, 2021
[htaccess] #htaccess
View .htaccess
# force https + www to non-www
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
@S-n-d
S-n-d / cloudSettings
Last active Dec 14, 2021
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2021-12-14T09:38:17.777Z","extensionVersion":"v3.4.3"}