اینو چک کردید ؟
کد:# add trailing slash to directories and force SSL RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_URI} !(/$) RewriteCond %{SERVER_PORT} 80 RewriteRule (.*) https://www.example.com/$1/ [R=301,L] # And for the files RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]