Protocol Enforcer

Plugin Banner

Protocol Enforcer

by Fastmover

Download
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.

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

    The metabox

  2. The metabox with the select options expanded.

    The metabox with the select options expanded.

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.
Back to top