.htaccess
bearbeitet von Matthias ApselKann ich es so machen jetzt:
# Enable Server-Side-Includes
Options +Includes
AddType text/x-server-parsed-html .shtm .shtml .htm .html
# Redirect all unsafe requests
# and requests witheout the 'www' to https://www.mywebsite.de/
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.mywebsite.de$
RewriteRule (.*)$ https://www.mywebsite.de/$1 [R=301,L]
.htaccess
bearbeitet von jeannie61Kann ich es so machen jetzt:
# Enable Server-Side-Includes
Options +Includes
AddOutputFilter INCLUDES .html .htm
# Redirect all unsafe requests
# and requests witheout the 'www' to https://www.mywebsite.de/
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.mywebsite.de$
RewriteRule (.*)$ https://www.mywebsite.de/$1 [R=301,L]
.htaccess
bearbeitet von jeannie61Kann ich es so machen jetzt:
# Enable Server-Side-Includes
Options +Includes
AddOutputFilter INCLUDES .html .htm
# Redirect all unsafe requests
# and requests witheout the 'www' to https://www.mywebsite.de/
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.mywebsite.de$
RewriteRule (.*)$ https://www.mywebsite.de/$1 [R=301,L]
Ich habe auf ? geklickt um es richtig reinzugeben aber ich habe es nicht verstanden :-(
.htaccess
bearbeitet von jeannie61Kann ich es so machen jetzt:
~~~apache
# Enable Server-Side-Includes
Options +Includes
AddType text/x-server-parsed-html .shtm .shtml .htm .html
# Redirect all unsafe requests
# and requests witheout the 'www' to https://www.kico4u.de/
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.kico4u.de$
RewriteRule (.*)$ https://www.kico4u.de/$1 [R=301,L]
~~~
.htaccess
bearbeitet von dedlfixKann ich es so machen jetzt:
# Enable Server-Side-Includes
Options +Includes
AddType text/x-server-parsed-html .shtm .shtml .htm .html
# Redirect all unsafe requests
# and requests witheout the 'www' to https://www.kico4u.de/
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} !^www.kico4u.de$
RewriteRule (.*)$ https://www.kico4u.de/$1 [R=301,L]