]> git.mxchange.org Git - mailer.git/blobdiff - .htaccess
Local changes.
[mailer.git] / .htaccess
index 0d28312700bd5846aadbc2f86280b92d95234318..281702fdc886b393877abe77a16b8f5c02ad1856 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -16,4 +16,6 @@ DirectoryIndex index.php
        # @TODO When ext-terms is finished RewriteRule ^cms/index/wht/agb$                 modules.php?module=index&what=terms [L]
        # @TODO When ext-terms is finished RewriteRule ^modules.php?module=index&what=agb$ modules.php?module=index&what=terms [L]
        # @TODO When ext-terms is finished RewriteRule ^agb.php$ modules.php?module=index&what=terms [L]
+       RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
+       RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
 </IfModule>