I want to redirect everyone that enters my website into https://www.yogozy.com/ Now whenever I type yogozy.com on the search bar it takes me automatically to yogozy.com but since I have my SSL activated I want everyone that enters my website to be redirected to https://www.yogozy.com
Is that possible to do using .htaccess?
If yes can you please guide me through the process?
Any help is appreciated. Thank you!
Similar to this post , you can try the following:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.