外掛說明
這個外掛已於 2025 年 10 月 5 日關閉,且不提供下載。 這個外掛已永久關閉。 原因: 開發者要求
使用者評論
2021 年 10 月 21 日
Excellent, minimalistic plugin that still works 8 years after its last update.
2021 年 3 月 20 日
3 則留言
The official WordPress Codex states: “In WordPress 4.5+, domain mapping is a native feature.”
Unfortunately, this plugin is no longer maintained, even though it is still the best, safest and easiest way to ensure perfect redirection to to correct (sub) blog.
The mentioned define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']); often results in wrong redirections to the main blog:
In WordPress Network Admin: http://www.mydomain.org/ will likely make typing mydomain.org redirect to the main blog: https://example.com/?signup=new
At the time of writing this review I am still very happily using WordPress MU Domain Mapping on WordPress MultiSite 5.7.1-alpha-50553, PHP 8.0.2. to ensure that my visitors end up on the correct blog (http, https, with and without www).
In wp-config.php:
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
/* Prevent redirection to /?signup=new */
define('NOBLOGREDIRECT', 'https://www.main-domain.com');
define('SUNRISE', 'on');
The defined COOKIE_DOMAIN will be set by this plugin to the correct url of all your blogs.
2020 年 4 月 25 日
Works great on versions 5.3.5 and 5.4.
2019 年 3 月 24 日
Hi,
After following step-wise instruction, the result is the error message
Forbidden
You don’t have permission to access /wp-admin/network/settings.php on this server.
Was the instruction applicable to WordPress Multisite Certified by Bitnami on Google Cloud Platform? Did I skipped some major steps?
Regards
2018 年 12 月 27 日
To me with the 4.9 is working
2017 年 9 月 29 日
This is exactly what I was looking for. Very simple and useful tool. Thanks!