Custom Permalink Domain
Changes permalink domain without affecting site URLs on the admin interface. Fully multisite compatible.
by Goke Pelemo · github.com/gokepelemo/custom-permalink-domain · website
★ 0stars
7release downloads
≈10active sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/gokepelemo/custom-permalink-domain/releases/download/v1.4.0/custom-permalink-domain-v1.4.0.zipAlso on Packagist as gokepelemo/custom-permalink-domain:
composer require gokepelemo/custom-permalink-domainFrom the readme
Custom Permalink Domain
A comprehensive WordPress plugin that allows you to customize the domain used in permalinks without affecting your WordPress admin area, login functionality, or admin-ajax.php URLs. Perfect for CDN integration, domain migration, headless architectures that maintain the same path on the frontend application, or multi-domain/multi-site setups using reverse proxies.
Created and maintained with the Claude Sonnet 4 LLM.
Features
Core Functionality
- Custom Domain for Permalinks: Change the domain used in all public-facing URLs
- Protocol-Relative URLs: Convert URLs to protocol-relative format (//example.com/path) for better HTTPS/HTTP compatibility
- Admin Area Protection: WordPress admin (/wp-admin/) continues to use the original domain
- Login Page Protection: wp-login.php and registration URLs remain on the original domain
- AJAX Protection: admin-ajax.php URLs are preserved to maintain functionality
- WP GraphQL Compatible: Enhanced filtering prevents CORS issues with GraphQL and REST API requests from admin
Comprehensive URL Coverage
This plugin filters URLs at multiple WordPress hook points to ensure comprehensive coverage:
Content URLs
- Posts & Page
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.4.0 | Sep 25, 2025 | custom-permalink-domain-v1.4.0.zip | 1 |
| v1.3.10 | Sep 23, 2025 | custom-permalink-domain-v1.3.10.zip | 6 |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.