RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?cafepasha\.ir$ [NC]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://cafepasha.ir%{REQUEST_URI} [R=301,L]