Redirect http://www.domain.com to https://www.domain.com using .htaccess
问题 I want to redirect my domain from http to https: http://www.domain.com --> https://www.domain.com Is it possible? I've been searching around the internet but I only found: http://domain.com --> https://www.domain.com The question is, how about peoples arriving directly on http://www.domain.com? Aren't they be served with non-https url? Same as the vice versa. I just want a simple redirection from the HTTP to HTTPS. Is it possible? Thank you 回答1: It will work for ALL versions of php and will