http to https rewriting...

How can i do it?

> @SkyCityCZ said: > How can i do it? Create a file called .htaccess in your /htdocs folder and put this in it: RewriteEngine on RewriteCond %{HTTPS !on RewriteRule (.*) https://%{HTTP\_HOST%{REQUEST\_URI

> @TheCrafters said: > > @SkyCityCZ said: > > How can i do it? > > Create a file called .htaccess in your /htdocs folder and put this in it: > RewriteEngine on > RewriteCond %{HTTPS !on > RewriteRule (.*) https://%{HTTP\_HOST%{REQUEST\_URI I did everythiing but now i cant access my website it says This site can�t provide a secure connectionbuyaffordablepcs.ezyro.com sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR

> @tristanwu17 said: > > @TheCrafters said: > > > @SkyCityCZ said: > > > How can i do it? > > > > Create a file called .htaccess in your /htdocs folder and put this in it: > > RewriteEngine on > > RewriteCond %{HTTPS !on > > RewriteRule (.*) https://%{HTTP\_HOST%{REQUEST\_URI > > I did everythiing but now i cant access my website it says > This site can�t provide a secure connectionbuyaffordablepcs.ezyro.com sent an invalid response. > Try running Windows Network Diagnostics. > ERR_SSL_PROTOCOL_ERROR That website redirects me to ads now, did you delete it? Did you have an SSL certificate for that subdomain in the first place? Also please do not go and bump old threads, it is preferable to create a new one for your issue.