A lightweight WordPress plugin that enforces HTTPS detection and correct REST API resolution when running behind reverse proxies like Caddy, Nginx, or Traefik.
- Forces
$_SERVER['HTTPS'] = 'on'when proxy headers or domain heuristics indicate HTTPS - Rewrites
home_url()andsite_url()to always returnhttps:// - Ensures Rank Math SEO plugin uses the correct REST API base
- Compatible with Dockerized WordPress stacks and reverse proxy setups
- Download or clone this repository into your WordPress
wp-content/plugins/directory. - Activate the plugin via the WordPress admin dashboard.
No configuration required. The plugin auto-detects proxy headers and enforces HTTPS behavior.
BitCryptic
Built by BitCryptic for scalable, proxy-aware WordPress deployments.
MIT — see LICENSE for details.