Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins

2,046 views
1,938 views

Published on

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

  • Be the first to like this

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

No notes for slide

Chandra Prakash Thapa: Make a WordPress Multisite in 20 mins

  1. 1. Make aWordPress Multisite in 20 mins
  2. 2. About MeChandra Prakash ThapaProject Manager/ Developer E-Port International @cpthapa
  3. 3. What is WordPress Multisite?The ability to create a network of websites from one wordpress installation that shares themes, plugins and users.
  4. 4. Why use Multisite?• Run unlimited website from one web account and one database.
  5. 5. Why use Multisite?• To share themes, plugins and users across the network.
  6. 6. Why use Multisite?• Manage multiple websites from one dashboard .
  7. 7. Why use Multisite?• Save time upgrading multiple sites with one action.
  8. 8. Who are using?• WordPress.com
  9. 9. Who are using?• Edublogs.com • Wall Street Journal Blog
  10. 10. HistoryWordPress Standard WordPress Multisite
  11. 11. WordPress 3.0• WordPress 3.0 = Standard + Multisite
  12. 12. Types of multisiteSubdomain Subdirectoryhttp:// site.yourdomain.com/ http:// yourdomain.com/siteRequires wildcard Requires no additionalDNS. (*.yourdomain.com) configuration.Search engine rank as Search engine rank asseparate URL. part of main domain.
  13. 13. Setting up Multisite• In wp-config.php• Refresh dashboard and click on network setup
  14. 14. Click Install to setup Network Title Admin e-mail address
  15. 15. Step1. Add following to your wp-config.phpdefine(MULTISITE, true);define(SUBDOMAIN_INSTALL, true);$base = /;define(DOMAIN_CURRENT_SITE, ‘yourdomain.com’);define(PATH_CURRENT_SITE, /);define(SITE_ID_CURRENT_SITE, 1);define(BLOG_ID_CURRENT_SITE, 1);Above /* that’s all stop editing..
  16. 16. Creating subdomain with ‘*’ will create wildcard domain.*.yourdomain.com
  17. 17. Step2. Replace your current .htaccess fileRewriteEngine OnRewriteBase /RewriteRule ^index.php$ - [L]# uploaded filesRewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-adminRewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^ - [L]RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]RewriteRule . index.php [L]
  18. 18. Step 3.Create blogs.dir directory inside wp-content folder.
  19. 19. LOG-in Back That’s it! You’re Done
  20. 20. Your new network
  21. 21. Network Admin Panel
  22. 22. NetworkUsers / Admins / Super Admins
  23. 23. Network Settings
  24. 24. Editing Network Site
  25. 25. SuperAdmin Controls Plugins
  26. 26. Plugins for WordPress MS• WordPress MU domain mapping This plugin allows users of a WordPress 3.0 network to map their blog/site to another domain or top level domain. http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/• WordPress MU Sitewide Tags Pages A central area where all the posts on a WordPress MU or WordPress MS site can be collected. http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
  27. 27. Reference…• http://codex.wordpress.org/Create_A_Network• http://mashable.com/2012/07/26/beginner-guide-wordpress- multisite/• http://wp.tutsplus.com/tutorials/using-wordpress-multisite-a- network-of-websites-at-your-fingertips/
  28. 28. Questions?

×