]> _ Git - couzy.git/commitdiff
WIP #4234 @0.75
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 17 Feb 2021 19:02:18 +0000 (19:02 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 17 Feb 2021 19:02:18 +0000 (19:02 +0000)
pavillonmadeleine.fr/.htaccess
pavillonmadeleine.fr/wp-content/themes/YvesCouzy/header.php

index 6ccf9241478582341a96defd7cb50c2cd1738020..dce704e3a9cc5d3c5c55e46626f9d4b0866a97f0 100644 (file)
@@ -1,4 +1,7 @@
-SetEnv PHP_VER 5 
+<IfModule mod_rewrite.c>
+       RewriteCond %{HTTPS} off
+    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
+</IfModule>
 
 # BEGIN W3TC Browser Cache
 <IfModule mod_mime.c>
index 9098764fad2d1abc5ae83695d672165d2088b092..6d5fa317c34bf701e28e8319ba65e88a1a0d33a1 100644 (file)
@@ -21,8 +21,8 @@
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo PARENT_URL; ?>/css/camera.css" />
        <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo CHILD_URL; ?>/css/font-awesome.min.css" />
-       <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,600,700,300' rel='stylesheet' type='text/css'>
-       <link href="http://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700" rel="stylesheet" type="text/css">
+    <link rel="preconnect" href="https://fonts.gstatic.com">
+    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Roboto+Slab:wght@100;300;400;700&display=swap" rel="stylesheet">
 
        <?php
                /* Always have wp_head() just before the closing </head>
                        </div>
 
                        <?php get_template_part("static/static-logo"); ?>
-               </header>
\ No newline at end of file
+               </header>