Linux 软件免费装

WordPress MU Domain Mapping CN

开发者 donncha
wpmuguru
wsnsnsns
更新时间 2010年2月24日 15:51
捐献地址: 去捐款
PHP版本: 2.8.6 及以上
WordPress版本: 2.9.1

标签

wordpressmu domain-mapping

下载

详情介绍:

WordPress MU Domain Mapping Simplified Chinese Language. Translate from Plugin WordPress MU Domain Mapping. URL:http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ This plugin allows users of a WordPress MU site to map their blog to another domain. Site administrators must configure the plugin in Site Admin->Domain Mapping. You must enter the IP or IP addresses (comma deliminated) of your server on this page. The addresses are purely for documentation purposes so the user knows what they are (so users can set up their DNS correctly). They do nothing special in the plugin, they're only printed for the user to see. Your users should go to Tools->Domain Mapping where they can add or delete domains. One domain must be set as the primary domain for the blog. When mapping a domain, (like 'example.com') your users must create an A record in their DNS pointing at that IP address. They should use multiple A records if your server uses more than one IP address. If your user is mapping a hostname of a domain (sometimes called a "subdomain") like www.example.com or blog.example.com it's sufficient to create a CNAME record pointing at their blog url (NOT IP address). The login page will almost always redirect back to the original blog's domain for login to ensure the user is logged in on the original site as well as the domain mapped one. Site admins can now choose to either allow users to setup DNS ANAME records by supplying an IP (or list of IP addresses) or set a CNAME but not both (entering a CNAME for the end user voids the use of IP's) There is a lot of debate on the handling of DNS using CNAME and ANAME so both methods are available depending on your preference and setup. Things to remember:

安装:

  1. Copy sunrise.php into wp-content/. If there is a sunrise.php there already, you'll just have to merge them as best you can.
  2. Copy domain_mapping.php into wp-content/mu-plugins/.
  3. Edit wp-config.php and uncomment the SUNRISE definition line: define( 'SUNRISE', 'on' );
  4. As a "site admin", visit Site Admin->Domain Mapping to create the domain mapping database table and set the server IP address or a domain to point CNAME records at.
  5. Make sure the default Apache virtual host points at your WordPress MU site so it will handle unknown domains correctly. (Need info on cpanel, etc. How do you get them to respond to any domain?)
  6. Do not define COOKIE_DOMAIN in your wp-config.php as it conflicts with logins on your mapped domains.
For Cpanel users If your domain uses the nameservers on your hosting account you should follow these instructions. If the nameservers are elsewhere change the A record or CNAME as documented above. Add a wildcard subdomain/virtual host record to your site's DNS record in Web Host Manager (WHM). If you do not have access to WHM, you must email your web host and ask them to make this one change for you. Should be no problem: From Cpanel, click on the "Parked Domains" under the "Domains" section: Now you're ready to do your domain mapping.

更新日志:

0.5.1 0.5 0.4.3 0.4.2 0.4.1 0.4