Return to Snippet

Revision: 8850
at October 10, 2008 15:30 by endorfin


Updated Code
RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain.de$ [NC]
RewriteRule ^(.*) http://www.domain.de/$1 [L,R=301]


### Das Gegenteil erreicht man so ##

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www\.domain\.de$ [NC]
RewriteRule ^(.*)$ http://domain.de/$1 [L,R=301]

Revision: 8849
at October 10, 2008 15:29 by endorfin


Initial Code
RewriteEngine On

RewriteCond %{HTTP_HOST} ^domain.de$ [NC]
RewriteRule ^(.*) http://www.domain.de/$1 [L,R=301]

Initial URL

                                

Initial Description

                                

Initial Title
URL ohne WWW weiterleiten zu URL mit WWW

Initial Tags
htaccess

Initial Language
Apache