WP Manifestindependent plugin directory
manifest / security / aegis-content-flow

Aegis Content Flow

WordPress plugin: layered preview/password protection with multi-language prefix support

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/wongwk0825/aegis-content-flow/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WordPress plugin that protects your production site with a password layer. When active, visitors see a password page — only those with a valid preview link or the correct password can enter.

Perfect for testing changes on production without exposing unfinished work to clients or the public.

Quick Start

1. Install

Upload aegis-content-flow/ to /wp-content/plugins/ and activate.

2. Configure

Add to wp-config.php:

define('FOUNDY_PREVIEW_ACTIVE', true);      // Enable the layer
define('FOUNDY_PREVIEW_PASSWORD', 'yourpass'); // Optional, default: preview2026

Set FOUNDY_PREVIEW_ACTIVE to false to turn the layer off completely.

3. Use

  • Layer ON: all visitors see a password page
  • Password: enter the password + cookie save 24h
  • Preview links: generate from Settings > Preview Links, share with your client
  • Admin bypass: logged-in admins auto-bypass

Multi-Language Mode (v1.1.0)

Protect only specific language paths while keeping the rest of the site open.

define('FOUNDY_PREVIEW_MODE', 'language_prefix');
define('FOUNDY_PREVIEW_LANG_PREFIXES', serialize(array('/en/', '/cn/')));

With this config:

  • /, /about/, /contact/ → public, no password needed
  • /en/..., /cn/... → protected, password required

Default language prefixes are /en/ and /cn/.

Set mode back to 'all' (or remove the constant) to protect the entire site again.

Features

  • ✅ Toggle via wp-config.php — safe, no accidental exposure
  • ✅ Password protection with cookie
  • ✅ Unlimited preview links, each with custom expiry
  • ✅ Admin auto-bypass when logged in
  • ✅ Crawler detection — search engines still index your site
  • ✅ Admin bar indicator (Preview ON/OFF)
  • ✅ Theme-overridable password template (foundy-preview-password.php in your theme)
  • ✅ Language prefix mode — protect /en/, /cn/, etc. while normal paths remain public

For Clients

Generate a preview link from Settings > Preview Links, send it to your client. No password needed on their end.

Requirements

  • WordPress 5.0+
  • PHP 7.0+