Protocol Enforcer

By Fastmover

0+ active installationsVersion 0.3

This plugin allows a user to specify a post to only be viewed over HTTP or HTTPS.

Description

A simple drop down selection meta box on a post edit page will allow you to specify default, HTTP or HTTPS. Default will allow both HTTP and HTTPS protocols.

Installation

  1. Unzip files.
  2. Upload the folder into your plugins directory.
  3. Activate the plugin.

Screenshots

Changelog

0.1

  • Added metabox with dropdown to select: default, http, https
  • Added logic in template_redirect hook to check this meta field for intended protocol to be used and redirect if needed.

0.2

  • Contributors update

0.3

  • Added global variable for object to access the inteded redirection URL.