Rewrite to https

asked Jan 25, 2016 by Ciatronical (950 points)
I would like all requests to https.

How  I modify .htaccess to force https with all graphics, etc??

Best regards,

Ronny

1 Answer

answered Jan 25, 2016 by Pavel.g (4,600 points)
Hello Ciatronical.

For this I recommend to make a change in the configuration file of your web server.

Regards, Pavel.
commented Jan 25, 2016 by Ciatronical (950 points)
I use apache2.
What should I change??
Which file??
commented Jan 25, 2016 by Ciatronical (950 points)
Ok, I have add in vhost:

Redirect / https://mydomain.tld/

In Plesk: Websites & Domains -> Apache & nginx Settings for mydomain
...