• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Default to https connection?

I don't think you can make SSL required for a specific folder directly with a Plesk setting.

I would do it using a script, so anybody trying to load the page as http would be redirected automatically.

It would look something like this in ColdFusion, but in PHP or whatever is your scripting language of choice you should be able to do the same thing:

<cfif left("#CGI.server_protocol#",5) NOT IS "https">
<cflocation url="https://www.myserver.com#CGI.path_name#" />
</cfif>

Basically, check what protocol is used. If it's not https, then redirect to the same page but loading through SSL.

Regs,
Andor
 
Back
Top