lundi 25 avril 2016

How to convert http to https

1st i want to convert my http domain to https domain and also yo non www to www domain through .htacccess.

1- http://ift.tt/1Tswiid ----> http://ift.tt/1VxbDNz

2- http://ift.tt/1VxbDNz ----> http://ift.tt/1Tswiif

i was coded:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^quickassignmenthelp\.co.uk$ [NC]
RewriteRule ^(.*)$ http://ift.tt/1VxbCcj [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



via Chebli Mohamed

1 commentaire:

  1. Skip Hire Near Me is one of the leading skip hire company in the UK and thanks from Skip Hire Near Me for this blog.

    RépondreSupprimer