RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(/membership/membership.php)$ https://biofuels.coop/$1 [R]