wcmtl andrear-domain-mapping

Download Wcmtl andrear-domain-mapping

If you can't read please download the document

Upload: montreal-wordpress-community

Post on 17-May-2015

1.571 views

Category:

Technology


0 download

DESCRIPTION

In 3.0, "the merge" happened between what was WordPress MU and regular WordPress. Now you can have multiple sites in one installation called a Network. Users will learn how to create a network, get it up and running smoothly, and all the little hints and tricks you'll need to know to run one successfully. We'll also cover how to give each site it's own full domain. No more running a half a dozen separate installs on one server!Bio: Andrea Rennick discovered WordPress MU by accident. Since then, she has written extensive tutorials to help others, developed a couple themes and plugins, contributed to WP 3.0 help text, and acts as a moderator on the official support forums. This year, she is also co-authoring the WordPress All-In-One Desk Reference with Lisa Sabin-Wilson and others.

TRANSCRIPT

  • 1. Domain Mapping with WordPress 3.0 Presented by Andrea RennickWordCamp Montreal August 29 th2010

2. Who am I?

  • @andrea_r on twitter
  • andrea_r on the WordPress support forum
  • http://wpmututorials.com
  • http://ronandandrea.com

3. Overview

  • How to enable the network
  • Multiple sites
  • DNS magic

The point: Running multiple WordPress blogs/sites from one installon one server. 4. Enable the Network

  • Menu hidden
  • Add line to config to show it:
    • define('WP_ALLOW_MULTISITE', true);
    • Visit Tools -> Network
    • Follow steps

http://codex.wordpress.org/Create_A_Network 5. 6. 7. Network Gotchas

  • Wildcard subdomain support from webhost
  • Subfolder option disabled if your blog is more than a month old
    • Can workaround
    • Inserts /blog/ in the permalink of main site
    • Can also be disabled

8. Create our second site

  • Visit Super Admin -> Sites
  • Add a Site.
  • Yes, it really is that easy.
    • Make sure it works first.

Sample site: Mommieblogs.com see: sillyandrea.mommieblogs.com 9. 10. The Magic Plugin

  • WordPress MU Domain Mapping
    • http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
  • Can install via backend, but you will have to move files
  • Mu-plugins or network activate?

sunrise.php to /wp-content/ define( 'SUNRISE', 'on' ); in wp-config 11. Super Admin settings

  • Find your IP address
  • Can use a CNAME instead
  • Domain options
    • Remote login
    • Permanent redirect
    • User domain page
    • Redirect admin

12. 13. Map the Domain to the Site

  • Visit your second site
  • Tools Domain Mapping
  • Fill in the options & save

sillyandrea.mommieblogs.com sillyandrea.com 14. 15. 16. Tell the Server

  • Park the domain in Cpanel
    • What if it's an add-on domain?

17. 18. Tell the Server II

  • Geek part: add it to the vhost entry

..... DocumentRoot /var/www/html/mommieblogs ServerName mommieblogs.comServerAlias*.mommieblogs.com sillyandrea.com ..... 19. DNS time

  • A record
  • IP address
  • wait

20. 21. 22. 23. Live Examples

  • http://ronandandrea.com
  • http://wpmututorials.com
  • http://freebpthemes.com
  • and our sillyandrea.com test.

That's it! 24. Multiple Networks

  • atypicalife.net on same install as previous examples
  • Has member sites
    • /mam/
    • /recipes/
    • /san/
    • /sarah/

25. Thanks!

  • Follow me on twitter @andrea_r
  • More tutorials at:
    • http://wpmututorials.com