diff --git a/README.md b/README.md index 10b76cf..ea2dcc7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ What I'm doing here is mostly collecting useful snippets from all over the inter - [Force www](#force-www) - [Force www in a Generic Way](#force-www-in-a-generic-way) - [Force non-www](#force-non-www) - - [Force non-www (preserve protocol)](#force-non-www-keep-protocol) + - [Force non-www in a generic way](#force-non-www-in-a-generic-way) - [Force HTTPS](#force-https) - [Force HTTPS Behind a Proxy](#force-https-behind-a-proxy) - [Force Trailing Slash](#force-trailing-slash) @@ -72,7 +72,7 @@ RewriteCond %{HTTP_HOST} ^www\.example\.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] ``` -### Force non-www whilst keeping the current protocol (http:// or https://) +### Force non-www in a Generic Way ``` apacheconf RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.