Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

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

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Prochain SlideShare
Domain mapping
Domain mapping
Chargement dans…3
×

Consultez-les par la suite

1 sur 23 Publicité

Plus De Contenu Connexe

Diaporamas pour vous (19)

Similaire à How to in WPMU: Building a blog directory & Domain Mapping (20)

Publicité

Plus récents (20)

Publicité

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>

×