[pmwiki-users] SSL for specific pages

Petko Yotov 5ko at 5ko.fr
Thu Mar 5 22:53:01 CST 2015

Something like this in pmwiki/local/Group.Page1.php:

if ($UrlScheme != 'https')
   Redirect($pagename, 'https://your-secure-page1-url');

Or the generic way:

if ($UrlScheme != 'https') {
   $UrlScheme = 'https';
   $ScriptUrl = 


On 2015-03-05 10:41, Russ wrote:
> I have a site with two pages (containing forms) that need to be
> handled via https ... is there an easy way in config.php or via
> per-page customizations to ensure the connections for those pages are
> made using https instead of http? (An SSL certificate is installed on
> the server, just wondering the easiest way to redirect the two
> specific wiki pages.)

More information about the pmwiki-users mailing list