這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

MultiDomain enabler

外掛說明

Features

Install wordpress only once and have single copy of content in one place
Show your 'same' content on different domains / subdomains using different theme per domain.
Supports wordpress installation at domain / subdomain root or any subfolder/path.
All links to your own site are auto-converted for each domain.
Add / remove or modify themes from wp-admin page
Supports both http and https domains, need to add both http and https domain in admin page.
Supports different themes on http and https for the same domain!

安裝方式

Plugin Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit admin page and configure the domains you need to place on your site.

Adding Your Domain

After activation, you can see the ‘Multiple Domains’ link at the bottom of the wp-admin menu.
When you visit this page, you can add Domains. It is possible to add same domain twice, the plugin will use the first entry.If you need to update a domain theme, simply add another copy and then delete the original one.

Modifying Theme Settings

You will need to activate each theme one by one on master installation and customize its settings. The saved settings will be used on other sites even if the theme is no longer active on the master site.

htaccess Update

In case where there are domains involved with wp install on non-root path, there is a manual step required to update htaccess, otherwise permalinks based on post name will malfunction on some domains. The htaccess content will appear automatically if the plugin thinks it is required. You will need to do a manual update of the file as mentioned in the admin page.

Autogenerated htaccess content based on domains entered. Simply copy and paste this one.

Limitations

There are certain limitations of how you use this plugin as listed below

WordPress does not allow multiple sites on same subdomain at different paths, this plugin does not attempt to allow that. However you can use as many subdomains as you like as well as different domains without issue.
If you need to modify theme settings, you must enable it on the 'master' site and modify there, once done, you can apply the same theme with same settings to any other site.
You cannot have the same theme applied with DIFFERENT settings to different sites. This may apply to some child themes using the same db entries too.
Not recommended to be used with wordpress multisite network install.

使用者評論

2016 年 12 月 21 日
Just what I was looking for. Thank you! [links redacted per forum etiquette]
2016 年 12 月 23 日
Simple but amazing! Show your ‘same’ content on my domains / subdomains using different theme per domain. Just be careful don’t put the theme for master domain here as mentioned as ‘Important Notes’ otherwise wp admin error in displaying.
2016 年 9 月 3 日
just to let you guys know, this plugin serves its purpose within 2 minutes. if you are looking for a way to point multiple domain to an exactly same webpage+contents/wordpress installation, use this plugin.
閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈MultiDomain enabler〉的開發相關工作。

參與者

將〈MultiDomain enabler〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial Release with addition of as many domains as required allowed
  • Select theme of your choice for each domain.