Onion Service by Adam Szokol
by Adam Szokol on WordPress.org
A focused plugin designed to enable Onion Service & Mapping support for your WordPress site.
The Onion Service by Adam Szokol plugin provides reliable functionality for integrating your WordPress site with the Tor network. It configures your site to handle .onion addresses, which can enhance accessibility and privacy for your visitors using the Tor Browser. This plugin is built to work effectively on both single-site and WordPress Multisite installations.
A core feature is its administrative helper functionality. On activation, the plugin checks for and creates a necessary sunrise.php file for domain mapping support. It also attempts to add the required define( ‘SUNRISE’, true ); constant to your wp-config.php file, which is often the most complex step in the setup process. This modification is only attempted if file permissions allow it.
The settings interface is available only to administrators (or Super Admins on Multisite), allowing you to easily map your .onion domains and manage the service status.
Key Features:
Automatic sunrise.php Creation: Handles the creation and placement of sunrise.php for reliable domain mapping.
Optional wp-config.php Modification: Attempts to safely add the SUNRISE constant to your configuration file, providing a setup assist.
Unified Architecture: Works consistently across single WordPress sites and Multisite networks.
Onion-Location Header: Automatically informs Tor Browser users that a private .onion version of your site is available.
Full Domain Mapping: Assign unique .onion domains to specific sites in your installation.
Service Status Control: Easily disable the onion service and display a custom maintenance message.