{ "@context": "https://schema.org/", "@type": "HowTo", "name": "How to force SSL with .htaccess", "description": "How to force SSL certificate (HTTPS protocol) with .htaccess in two easy steps", "image": "https://pitdesigns.com/wp-content/uploads/2019/02/force-ssl.jpg", "totalTime": "PT1M", "estimatedCost": { "@type": "MonetaryAmount", "currency": "USD", "value": "0" }, "tool": { "@type": "HowToTool", "name": "Browser or FTP Client" }, "step": [{ "@type": "HowToStep", "text": "Login to your hosting, and in the Root folder, right click > edit the .htaccess file", "image": "https://pitdesigns.com/wp-content/uploads/2019/02/htaccess-in-Root-folder.jpg", "name": ".htaccess in Root folder", "url": "https://pitdesigns.com/how-to-force-ssl-with-htaccess/#Step_One" },{ "@type": "HowToStep", "text": "Add these rules in your website's .htaccess file: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]", "name": "Add Rules to .htaccess", "url": "https://pitdesigns.com/how-to-force-ssl-with-htaccess/#Step_Two" }] }

Project(s) Classified Under SSL