Du musst eigentlich nur das machen was dort steht
Uncomment = Raute entfernen.
Wenn du ohne www. bevorzugst:
HTML-Code:
##
# Uncomment the following lines to add "www." to the domain:
#
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
# RewriteRule (.*) http://www.example.com/$1 [R=301,L]
#
# Uncomment the following lines to remove "www." from the domain:
#
RewriteCond %{HTTP_HOST} ^www\.mini-hufschuh\.ch$ [NC]
RewriteRule (.*) http://mini-hufschuh.ch/$1 [R=301,L]
#
# Make sure to replace "example.com" with your domain name.
##
Wenn du mit www. bevorzugst:
HTML-Code:
##
# Uncomment the following lines to add "www." to the domain:
#
RewriteCond %{HTTP_HOST} ^mini-hufschuh\.ch$ [NC]
RewriteRule (.*) http://www.mini-hufschuh.ch/$1 [R=301,L]
#
# Uncomment the following lines to remove "www." from the domain:
#
# RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
# RewriteRule (.*) http://example.com/$1 [R=301,L]
#
# Make sure to replace "example.com" with your domain name.
##
Den Rest des Datei-Inhaltes natürlich so lassen wie es war.
Lesezeichen