This is the official github repository of the Multisite Blog Alias plugin.
WordPress Multisite plugin to maintain URL-redirects for Blogs.
- Permanent 301 Redirect to blogs main domain
- Painless installation and activation – no file access necessary.
- Checks domain status
- WP-Cli commands
List alias domains for blog-id 123
wp alias-domains list --blog_id=123
Output all aliases as minified json
wp alias-domains list --format=json --compact=2
Output csv including the header row but omitting other messages into file
wp alias-domains list --format=csv --compact > alias-list.csv
Get all Domains handled by the plugin
wp alias-domains list --field=domain_alias --compact
wp alias-domains add --blog_id=123 --domain_alias=quux.foobar.tld
Remove a specific alias
wp alias-domains remove --domain_alias=quux.foobar.tld
Remove all aliases for blog 123
wp alias-domains remove --blog_id=123
wp alias-domains test --domain_alias=quux.foobar.tld
- cd into your plugin directory
- $
git clone git@github.com:mcguffin/multisite-blog-alias.git
- $
cd multisite-blog-alias
- $
npm install && npm run dev