Wcmtl andrear-domain-mapping

2,034 views

Published on

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.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,034
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Wcmtl andrear-domain-mapping

  1. 1. Domain Mapping with WordPress 3.0 Presented by Andrea Rennick WordCamp Montreal August 29 th 2010
  2. 2. Who am I? <ul><li>@andrea_r on twitter </li></ul><ul><li>andrea_r on the WordPress support forum </li></ul><ul><li>http://wpmututorials.com </li></ul><ul><li>http://ronandandrea.com </li></ul>
  3. 3. Overview <ul><li>How to enable the network </li></ul><ul><li>Multiple sites </li></ul><ul><li>DNS magic </li></ul>The point: Running multiple WordPress blogs/sites from one install on one server.
  4. 4. Enable the Network <ul><li>Menu hidden </li></ul><ul><li>Add line to config to show it: </li></ul><ul><ul><li>define('WP_ALLOW_MULTISITE', true); </li></ul></ul><ul><ul><li>Visit Tools -> Network </li></ul></ul><ul><ul><li>Follow steps </li></ul></ul>http://codex.wordpress.org/Create_A_Network
  5. 7. Network Gotchas <ul><li>Wildcard subdomain support from webhost </li></ul><ul><li>Subfolder option disabled if your blog is more than a month old </li></ul><ul><ul><li>Can workaround </li></ul></ul><ul><ul><li>Inserts /blog/ in the permalink of main site </li></ul></ul><ul><ul><li>Can also be disabled </li></ul></ul>
  6. 8. Create our second site <ul><li>Visit Super Admin -> Sites </li></ul><ul><li>Add a Site. </li></ul><ul><li>Yes, it really is that easy. </li></ul><ul><ul><li>Make sure it works first. </li></ul></ul>Sample site: Mommieblogs.com see: sillyandrea.mommieblogs.com
  7. 10. The Magic Plugin <ul><li>WordPress MU Domain Mapping </li></ul><ul><ul><li>http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ </li></ul></ul><ul><li>Can install via backend, but you will have to move files </li></ul><ul><li>Mu-plugins or network activate? </li></ul>sunrise.php to /wp-content/ define( 'SUNRISE', 'on' ); in wp-config
  8. 11. Super Admin settings <ul><li>Find your IP address </li></ul><ul><li>Can use a CNAME instead </li></ul><ul><li>Domain options </li></ul><ul><ul><li>Remote login </li></ul></ul><ul><ul><li>Permanent redirect </li></ul></ul><ul><ul><li>User domain page </li></ul></ul><ul><ul><li>Redirect admin </li></ul></ul>
  9. 13. Map the Domain to the Site <ul><li>Visit your second site </li></ul><ul><li>Tools – Domain Mapping </li></ul><ul><li>Fill in the options & save </li></ul>sillyandrea.mommieblogs.com sillyandrea.com
  10. 16. Tell the Server <ul><li>Park the domain in Cpanel </li></ul><ul><ul><li>What if it's an add-on domain? </li></ul></ul>
  11. 18. Tell the Server II <ul><li>Geek part: add it to the vhost entry </li></ul><VirtualHost mommieblogs.com> ..... DocumentRoot /var/www/html/mommieblogs ServerName mommieblogs.com ServerAlias *.mommieblogs.com sillyandrea.com ..... </VirtualHost>
  12. 19. DNS time <ul><li>A record </li></ul><ul><li>IP address </li></ul><ul><li>wait </li></ul>
  13. 23. Live Examples <ul><li>http://ronandandrea.com </li></ul><ul><li>http://wpmututorials.com </li></ul><ul><li>http://freebpthemes.com </li></ul><ul><li>and our sillyandrea.com test. </li></ul>That's it!
  14. 24. Multiple Networks <ul><li>atypicalife.net on same install as previous examples </li></ul><ul><li>Has member sites </li></ul><ul><ul><li>/mam/ </li></ul></ul><ul><ul><li>/recipes/ </li></ul></ul><ul><ul><li>/san/ </li></ul></ul><ul><ul><li>/sarah/ </li></ul></ul>
  15. 25. Thanks! <ul><li>Follow me on twitter @andrea_r </li></ul><ul><li>More tutorials at: </li></ul><ul><ul><li>http://wpmututorials.com </li></ul></ul>

×