Canopus-Conical-Domain-Redirector
Canopus is a lightweight WordPress MU plugin that enforces a canonical domain across multisite networks, ensuring consistent URLs, SEO clarity, and 301 redirection from alias domains.
Install
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/starisian-technologies/canopus-canonical-name-redirector/archive/refs/heads/universe.zipCanopus – Canonical Domain Redirector
Compatible with: WordPress Multisite
Requires: WordPress 5.2+ / PHP 7.4+
Description
Canopus is a canonical domain enforcement plugin for WordPress Multisite. Its function is to force all frontend traffic to a specific primary domain (canonical host) by automatically redirecting any alternate domain requests to the designated domain using a permanent 301 redirect.
🔧 Key Features
- Frontend-only enforcement: Admin, AJAX, and CLI processes are excluded to avoid breaking backend functionality.
- Domain consistency: Ensures all content is served from the canonical domain (
vibe.sparxstar.comin your initial setup), preventing mixed content issues and improving SEO. - Multisite-compatible: Perfect for subsites with external domain aliases (e.g.,
cellularvibrations.com) pointing to mapped subsites. - Lightweight MU plugin: Designed to drop into
mu-plugins/and run network-wide with no activation required. - SEO-friendly: Uses permanent 301 redirects for search engine compliance.
How It Works
On every frontend page load, Canopus checks:
- If the request is for the admin, AJAX, or CLI—if so, it skips redirection.
- If the current host does not match the defined canonical host, it performs a 301 redirect to the canonical domain, preserving the full request URI.
Example
A user visiting cellularvibrations.com will be redirected to:
https://vibe.sparxstar.com/same-page-path using a 301 redirect.
Installation
- Create a file named
canopus.phpinside yourwp-content/mu-plugins/directory. - Paste the plugin code into that file.
- Replace the
$canonical_hostwith your preferred canonical domain. - Done. No plugin activation is needed.
License
This plugin is licensed under the GNU General Public License v3.0.
See LICENSE for full terms.
Disclaimer
This software is provided as is, without warranty of any kind, express or implied.
Starisian Technologies makes no guarantees regarding the performance, reliability, or suitability of this plugin for any particular purpose.
By using this plugin, you accept full responsibility for any outcomes, including potential misconfiguration, SEO impact, or site disruptions.
“Canopus shines brightest when your domains align.”
— Starisian Technologies
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.