How i can creat a new .hctacess file in my htdocs?

I want creat a new .hctacess file in my htdocs for introduce these code

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https:/$1 [R,L]

The goal is when i enter the domain without https: to be forwarded to the domain with https: to have SSL certified


You are the boss!

Thank you so much

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.