Zuerst möchte ich meine http-Domäne zu https-Domäne und auch von nicht www zu www-Domäne durch .htaccess
konvertieren.Wie konvertiert man http zu https
http://quickassignmenthelp.co.uk/ → https://quickassignmenthelp.co.uk/
https://quickassignmenthelp.co.uk/ → https://www.quickassignmenthelp.co.uk/
Ich war codiert:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^quickassignmenthelp\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.quickassignmenthelp.co.uk/$1 [R=301,L]
# BEGIN EXPIRES
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 10 days"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/plain "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-icon "access plus 1 year"
</IfModule>
# END EXPIRES
Und was funktioniert nicht? – anubhava