How-to with MU  Using Multiple Domains  and  Building a Member Directory
Part one: Building a Member Directory
Queercents Blog directory <ul><li>WP + WPMU install </li></ul>
Queercents Blog directory <ul><li>WP + WPMU install </li></ul><ul><li>Each blog a “profile” </li></ul>
It starts with the theme... <ul><li>One for the main blog </li></ul><ul><li>One for the profiles. </li></ul>
It starts with the theme... <ul><li>One for the main blog </li></ul><ul><li>One for the profiles </li></ul>
Directory page <ul><li>Main blog </li></ul><ul><li>Page template </li></ul>
Profile area <ul><li>User profiles before blog posts </li></ul><ul><li>pulled in via function call to custom plugin </li><...
Plugin magic <ul><li>New Blog Defaults </li></ul><ul><ul><li>http://wpmudev.org/project/New-Blog-Defaults </li></ul></ul><...
Plugins <ul><li>Limited Menus </li></ul><ul><ul><li>http://wpmudev.org/project/Menus </li></ul></ul><ul><li>Simple Dashboa...
Part Two Doman Mapping and Multiple Sites
What is domain mapping? <ul><li>Single blog </li></ul><ul><ul><li>Must create blog first </li></ul></ul><ul><li>Own domain...
What are multi-sites? <ul><li>Separate site_id </li></ul><ul><li>Own domain + user blogs </li></ul><ul><li>Use a different...
Installing <ul><li>Goes in mu-plugins </li></ul><ul><li>Edit sunrise.php </li></ul><ul><ul><li>What does this file do? </l...
DNS Records <ul><li>The term “parking” </li></ul><ul><li>ServerAlias </li></ul><ul><li>Goes on top of main MU install, not...
Our setup <ul><li>Homeschoolblogsites.com is main install </li></ul><ul><li>WPMU Tutorials is mapped domain </li></ul><ul>...
Main WPMU install Mapped domain Site Sub blog Sub blog Sub blog Sub blog/folder Mapped domain Sub blog/folder Subdomain blog
DNS magic wpmututorials.com. 600 A 64.34.172.17
Our setup – the goodies <ul><li>WPMU is default host on the server </li></ul><ul><li>IP address is the same </li></ul><ul>...
Virtual Host #<VirtualHost *:80> #  ServerAdmin webmaster@dummy-host.example.com #  DocumentRoot /www/docs/dummy-host.exam...
 
 
 
Upcoming SlideShare
Loading in...5
×

How to in WPMU: Building a blog directory & Domain Mapping

4,188

Published on

A two part talk on building a blog directory with WordPressMU, and also Domain Mapping & multiple sites.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,188
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
28
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

How to in WPMU: Building a blog directory & Domain Mapping

  1. 1. How-to with MU Using Multiple Domains and Building a Member Directory
  2. 2. Part one: Building a Member Directory
  3. 3. Queercents Blog directory <ul><li>WP + WPMU install </li></ul>
  4. 4. Queercents Blog directory <ul><li>WP + WPMU install </li></ul><ul><li>Each blog a “profile” </li></ul>
  5. 5. It starts with the theme... <ul><li>One for the main blog </li></ul><ul><li>One for the profiles. </li></ul>
  6. 6. It starts with the theme... <ul><li>One for the main blog </li></ul><ul><li>One for the profiles </li></ul>
  7. 7. Directory page <ul><li>Main blog </li></ul><ul><li>Page template </li></ul>
  8. 8. Profile area <ul><li>User profiles before blog posts </li></ul><ul><li>pulled in via function call to custom plugin </li></ul><ul><li><div id=&quot;profile-box&quot;> </li></ul><ul><li><div id=&quot;profile-pic&quot;> </li></ul><ul><li><?php if(function_exists('author_image_tag(')) { author_image_tag((); } ?> </li></ul><ul><li></div> </li></ul><ul><li><div id=&quot;profile-info&quot;> </li></ul><ul><li><?php if(function_exists('ra_show_profile')) { ra_show_profile(); } ?> </li></ul><ul><li></div> </li></ul><ul><li></div> </li></ul>
  9. 9. Plugin magic <ul><li>New Blog Defaults </li></ul><ul><ul><li>http://wpmudev.org/project/New-Blog-Defaults </li></ul></ul><ul><li>Blog Topics </li></ul><ul><ul><li>http://wpmudev.org/project/Blog-Topics </li></ul></ul><ul><li>Sitewide Tags </li></ul><ul><ul><li>http://wordpress.org/extend/plugins/ </li></ul></ul><ul><ul><li>wordpress-mu-sitewide-tags </li></ul></ul>
  10. 10. Plugins <ul><li>Limited Menus </li></ul><ul><ul><li>http://wpmudev.org/project/Menus </li></ul></ul><ul><li>Simple Dashboard </li></ul><ul><ul><li>http://wpmudev.org/project/simple-dashboard </li></ul></ul><ul><li>Profile Picture & Business Details </li></ul><ul><ul><li>Coming soon </li></ul></ul>
  11. 11. Part Two Doman Mapping and Multiple Sites
  12. 12. What is domain mapping? <ul><li>Single blog </li></ul><ul><ul><li>Must create blog first </li></ul></ul><ul><li>Own domain </li></ul><ul><li>Use a plugin </li></ul><ul><ul><li>Difference between ours and Donncha's </li></ul></ul><ul><li>Subdomain & subfolder installs </li></ul>
  13. 13. What are multi-sites? <ul><li>Separate site_id </li></ul><ul><li>Own domain + user blogs </li></ul><ul><li>Use a different plugin </li></ul><ul><li>Main blog created when site added </li></ul>
  14. 14. Installing <ul><li>Goes in mu-plugins </li></ul><ul><li>Edit sunrise.php </li></ul><ul><ul><li>What does this file do? </li></ul></ul><ul><li>Not done yet </li></ul>
  15. 15. DNS Records <ul><li>The term “parking” </li></ul><ul><li>ServerAlias </li></ul><ul><li>Goes on top of main MU install, not sub-blog </li></ul>
  16. 16. Our setup <ul><li>Homeschoolblogsites.com is main install </li></ul><ul><li>WPMU Tutorials is mapped domain </li></ul><ul><li>Ron and Andrea.com is mapped domain </li></ul><ul><li>Atypicalife.net is a Site </li></ul><ul><ul><li>User blogs in subfolders </li></ul></ul>
  17. 17. Main WPMU install Mapped domain Site Sub blog Sub blog Sub blog Sub blog/folder Mapped domain Sub blog/folder Subdomain blog
  18. 18. DNS magic wpmututorials.com. 600 A 64.34.172.17
  19. 19. Our setup – the goodies <ul><li>WPMU is default host on the server </li></ul><ul><li>IP address is the same </li></ul><ul><li>Virtual host magic </li></ul>
  20. 20. Virtual Host #<VirtualHost *:80> # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×