/ Question & Réponse / Force redirection https in Website Force redirection https in Website htaccess Serveur //in website racine .htacess (APACHE) RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don't put www. here. If it is already there it will be included, if not # the subsequent rule will catch it. RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # Now, rewrite any request to the wrong domain to use www. RewriteCond %{HTTP_HOST} !^www\. RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Question & Réponse How to create a directory using NodeJS ? Node.js Développement back-end How to display all files in a directory using Node.js ? Node.js Développement back-end How to scroll top position in page HTML with Jquery Jquery Développement front-end How to force page scroll position to top at page refresh in HTML Javascript, Jquery Développement front-end How to get random value out of an array ? PHP Développement back-end How to reload or refresh an iframe ? Javascript Développement front-end How to reload or refresh an iframe ? Javascript Développement front-end How to style the input type time CSS Intégration web How to Copy Text with javascript Javascript Développement front-end How Minify CSS with PHP PHP Développement back-end Convert special characters to HTML in Javascript Javascript Développement front-end How to create a offset in Bootstrap 4 Bootstrap 4 Intégration web