Beschrijving
Domainer lets you route custom domain names to specific sites on your Multisite installation. That’s it.
Domain Options
Each domain has 4 options you set:
- The target site; pick from a list of existing sites on your network.
- A type, choose from one of 3 flavours:
- Primary: sites with a primary domain will have their URLs redirected to them.
- Redirect: these domains will always redirect to the primary domain, or the original failing that.
- Alias: these won’t redirect to the primary, so they’re bad for SEO but can be useful for certain setups.
- A www rule, choose from one of 3 options:
- Always: always redirect to the domain with www at the front.
- Never: always redirect to the domain without www at the front.
- Auto: allow the domain to function with or without www, usually bad for SEO.
Content Rewriting
In order to reduce redirects while navigating the site, Domainer will replaced all instances of the site’s original domain name on the pages to that of the primary domain, or currently requested alias domain. This will not affect email addresses however; any filters on the content will only replace instances starting with a double slash so as to match URLs.
If you find instances of the domain not being replaced, such as in content filtered by 3rd party plugins, you can patch it with this function:
add_filter( 'my_filter', 'domainer_rewrite_url' );
The function can also take a domain or array of domains to replace, as well as a specific domain to replace with.
Installatie
- Upload the contents of
domainer.tar.gz
to your/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Assuming the system is unable to take care of it automatically:
- Copy the sunrise.php file to
/wp-content/
. - Add
define('SUNRISE', true);
to yourwp-config.php
file, anywhere above theABSPATH
line.
- Copy the sunrise.php file to
- Start adding domains under Network Admin > Domains.
Beoordelingen
Bijdragers & ontwikkelaars
“Domainer” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“Domainer” is vertaald in 1 taal. Dank voor de vertalers voor hun bijdragen.
Vertaal “Domainer” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
Details on each release can be found on the GitHub releases page for this project.
1.2.1
Improved UX and error handling of Sunrise install process.
1.2.0
Network Only now. Fixed session handling that was causing loopback requests to fail.
1.1.3.1
Fixed subdirectory rewrites, ironed out install process.
1.1.2
Fixed rewrite handling on subdirectory style network setups.
1.1.1
Fixed handling of alias domains, improved security of remote login/logout.
1.1.0
Remote login capabilities, blog switching and site selecting fixes.
1.0.1
Fixed bug with deleting domains and certain redirect URLs.
1.0.0
Initial public release.