<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WPMU Tutorials</title>
	
	<link>http://wpmututorials.com</link>
	<description>WordPressMU how to - tips, hints, tricks and explainations for multiple blogs in WordPress</description>
	<pubDate>Tue, 03 Nov 2009 19:16:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/WpmuTutorials" type="application/rss+xml" /><feedburner:emailServiceId>WpmuTutorials</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Mixing mapped domains and sites</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/JTB_aWy-TLA/</link>
		<comments>http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 18:50:28 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[ideas]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=306</guid>
		<description><![CDATA[As you may already know, this blog is a domain mapped blog on a WPMU site. So is ronandandrea.com, our consulting site. It&#8217;s very handy to login with the same username, and only have one codebase to deal with.
We do have other domains, client sites, &#38; sites under dev on the install, but I&#8217;ll leave [...]]]></description>
			<content:encoded><![CDATA[<p>As you may already know, this blog is a domain mapped blog on a WPMU site. So is <a href="http://ronandandrea.com">ronandandrea.com</a>, our consulting site. It&#8217;s very handy to login with the same username, and only have one codebase to deal with.</p>
<p>We do have other domains, client sites, &amp; sites under dev on the install, but I&#8217;ll leave it at those two for the mentions for now.</p>
<p>One question I get asked is if you can use the <a href="http://wpmututorials.com/simple-multi-site-plugin-e-book/">domain mapping and multi site plugins</a> together on one install. Sure you can! In fact, some of our time was taken up recently by moving <a href="http://atypicalife.net/blog/">my personal blog</a> which has over three thousand posts, and <a href="http://atypicalife.net/mam/">my mom&#8217;s blog</a>, which also had a number of posts and attachments. Both of these were separate WordPress installs in the same server, both in subfolders.</p>
<p>A quick overview:</p>
<ul>
<li> backups. Lots and lots of backups. I backed up both databases, both wp-content folders from both sites. I also grabbed Export files from the backend using the Advanced Export plugin, because like I said above, there was a LOT of content.</li>
<li> since I was already a user on the new system, I didn&#8217;t have to add myself.</li>
<li> made a new Site in WPMU</li>
<li> since the old site was live with traffic, and the new site needed a LOT of work that was going to be done here &amp; there, I <strong>added a record to my computer&#8217;s hosts file</strong> to the IP of the new site. This means that after adding the Site in MU, the only person who could see it, access it, or even know about it was me. Each time I needed to go back to the old site for something, I had to un-do that hosts file edit. I tried to plan accordingly and do things in batches.</li>
<li> I imported the main site domain&#8217;s posts first. We had some technical issues with uploads, so we wound up using the database backup. Good thing we&#8217;d already done this! While we were in the SQL, we cleaned out post revisions, spam comments and tables from plugins long since deleted. I like to use an interface, so I imported the entire database into a local copy of phpmyadmin. I was able to rename the database tables under the operations tab when browsing each table. Ron ran through the database changing the image upload paths, because we knew they&#8217;d change. He also imported these new tables into the new site, replacing the empty ones.</li>
<li> I then checked the blog. Sure it had the default theme, but everything was now there. I moved over the themes and plugins, skipping the ones already in the new install. I did the other blog&#8217;s themes &amp; plugins folders at the same time, since I was already logged in  to the server via ssh. It was much more efficient to transfer large amounts of data this way, from one server to another.</li>
<li> Once my blog was up and running, we did the same database changes to my mom&#8217;s blog. On the new site, I added her blog from the backend so we&#8217;d know what the blog ID would be. once again, I double-checked everything.</li>
<li> when all seemed moved over, I went to my domain registrar and changed the DNS records to point to the new site and went to bed. in the morning, after making sure my local hosts file was adjusted to show me the live site, I checked to make sure it really was live on the new site - and it was! <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
</ul>
<p>My old blog was installed in a subfolder called &#8216;blog&#8217; with the index file of the site calling in wp_head. This time, it&#8217;s technically the &#8220;main&#8221; blog, but to maintain links, I changed the setting under Settings -&gt; Reading to show a different page on the front and to use the &#8220;Blogs&#8221; page to show the posts. The only extra I did was make a blank Page called blog. I still want to make a home.php page for my template to let visitors to the main domain know about other blogs under AtypicaLife.net.</p>
<p>Now I can add new blogs to my second site with a click of a button. The signups are closed to the public, but since some of my family members were already users, or newly added, I&#8217;ve allowed them to set up new blogs as well. Since then, we&#8217;ve started one for my oldest daughter to relate her tales from her first year at college, a group blog with recipes, and there are plans for a genealogy blog for my uncle and mom. This way, users of one blog don&#8217;t interfere with the management of another blog. I could have had a multi-author blog and strict categories, but this saves user from accidentally posting to the wrong area. They also have their own space and can change themes and play with plugins and widgets all they like.</p>
<p>Yes, this was quite a bit of work to get moved over, partly because of the established blogs. But? It has been SO worth it. The amount of time doing this would still be less than maintaining half a dozen separate installs of WordPress.</p>
<p>I&#8217;ll be going over this in detail at one of my <a href="http://2009.newyork.wordcamp.org/speakers/">sessions at WordCamp New York</a>. Will I see you there?<br />
<h3>Random Posts</h3>
<ul class="related_post">
<li>September 28, 2009 &#8212; <a href="http://wpmututorials.com/how-to/writing-plugins/" title="Writing Plugins (for WP &#038; WPMU)">Writing Plugins (for WP &#038; WPMU) (2)</a></li>
<li>July 29, 2008 &#8212; <a href="http://wpmututorials.com/how-to/where-can-i-find/decent-vps-hosting/" title="Decent VPS hosting">Decent VPS hosting (3)</a></li>
<li>July 20, 2009 &#8212; <a href="http://wpmututorials.com/news/wordpress-mu-282/" title="Wordpress MU 2.8.2">Wordpress MU 2.8.2 (1)</a></li>
<li>May 4, 2009 &#8212; <a href="http://wpmututorials.com/plugins/login-widget/" title="Login Widget">Login Widget (7)</a></li>
<li>March 1, 2009 &#8212; <a href="http://wpmututorials.com/news/news-for-the-week-ending-feb-28/" title="News for the week ending Feb 28">News for the week ending Feb 28 (2)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/">Permalink</a> |
<a href="http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/&title=Mixing mapped domains and sites">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=JTB_aWy-TLA:EYhRJR2n3jo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=JTB_aWy-TLA:EYhRJR2n3jo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=JTB_aWy-TLA:EYhRJR2n3jo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=JTB_aWy-TLA:EYhRJR2n3jo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=JTB_aWy-TLA:EYhRJR2n3jo:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/JTB_aWy-TLA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/</feedburner:origLink></item>
		<item>
		<title>Featured posts plugin and widget</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/9IhO1aQjQjg/</link>
		<comments>http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 00:27:10 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[featured post]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[widget]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=302</guid>
		<description><![CDATA[Here&#8217;s a plugin complete with a widget that lets the site admin pick and choose which posts to feature. A backend menu is created where the admin can input a sitewide feed. In MU, the menu item is under site Admin, and in regular WordPress, it&#8217;s under Appearance.
We recommend using this in conjunction with Sitewide [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a plugin complete with a widget that lets the site admin pick and choose which posts to feature. A backend menu is created where the admin can input a sitewide feed. In MU, the menu item is under site Admin, and in regular WordPress, it&#8217;s under Appearance.</p>
<p>We recommend using this in conjunction with Sitewide tags, then use the feed from the tags blog. Each item from the feed has a checkbox, and when selected, the post is moved over to the &#8220;Featured&#8221; column. The widget will display the featured post excerpt as well as the user&#8217;s avatar.  </p>
<p>Screenshots:<br />
The admin area.<br />
<a href="http://wpmututorials.com/files/2009/10/ra_featured_posts-e280b9-mommieblogscom-blogs-e28094-wordpress_1256592643267.png"><img class="alignnone size-medium wp-image-303" title="ra_featured_posts-e280b9-mommieblogscom-blogs-e28094-wordpress_1256592643267" src="http://wpmututorials.com/files/2009/10/ra_featured_posts-e280b9-mommieblogscom-blogs-e28094-wordpress_1256592643267-273x300.png" alt="featured posts admin screen" width="273" height="300" /></a> </p>
<p>The widget in action.<br />
<a href="http://wpmututorials.com/files/2009/10/mommieblogscom-blogs_1256592620548.png"><img class="alignnone size-medium wp-image-304" title="featured posts widget" src="http://wpmututorials.com/files/2009/10/mommieblogscom-blogs_1256592620548-139x300.png" alt="mommieblogscom-blogs_1256592620548" width="139" height="300" /></a> </p>
<p>Currently, if you want to change some options, you will have to edit the code of the plugin. The widget is in a separate file if you wish to remove it. Also, the widget is set to display one post, but that is easily changed by editing the plugin. Find the function call and change it thusly: </p>
<p> &lt;?php ra_featured_show(10); ?&gt; </p>
<p>Where the number 10 is the maximum amount of posts to show. You can also use this same function if you want to hardcode it in your theme. There are also options in the code for default avatar sizes, and some CSS classes around the post and the avatar, so you can adjust them to your liking. Feel free to fold, spindle, mutilate and enjoy the heck out of it. Since we are going to WordCamp New York, we wanted to get this plugin released before then. We&#8217;ll add more options for backend configuration after we get back.</p>
<p><a href="http://wordpress.org/extend/plugins/wordpress-mu-featured-posts/">Download the plugin here</a>.
<ul class="related_post">
<li>May 31, 2009 &#8212; <a href="http://wpmututorials.com/news/comluv-beta/" title="ComLuv Beta">ComLuv Beta (2)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>June 23, 2009 &#8212; <a href="http://wpmututorials.com/plugins/devel-plugin/" title="WP-Devel plugin">WP-Devel plugin (1)</a></li>
<li>June 12, 2009 &#8212; <a href="http://wpmututorials.com/how-to/building-a-better-blog-host-week-1/" title="Building a better blog host: Week 1">Building a better blog host: Week 1 (4)</a></li>
<li>June 3, 2009 &#8212; <a href="http://wpmututorials.com/hacks/muing-wp/" title="MU&#8217;ing WP">MU&#8217;ing WP (3)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/">Permalink</a> |
<a href="http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/#comments">7 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/&title=Featured posts plugin and widget">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/featured-post/" rel="tag">featured post</a>, <a href="http://wpmututorials.com/tag/plugin/" rel="tag">plugin</a>, <a href="http://wpmututorials.com/tag/widget/" rel="tag">widget</a>, <a href="http://wpmututorials.com/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://wpmututorials.com/tag/wordpressmu/" rel="tag">wordpressmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=9IhO1aQjQjg:pWnLS_Sdaq4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=9IhO1aQjQjg:pWnLS_Sdaq4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=9IhO1aQjQjg:pWnLS_Sdaq4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=9IhO1aQjQjg:pWnLS_Sdaq4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=9IhO1aQjQjg:pWnLS_Sdaq4:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/9IhO1aQjQjg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/</feedburner:origLink></item>
		<item>
		<title>Enabling wildcard subdomains</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/xckvDrrlXeQ/</link>
		<comments>http://wpmututorials.com/how-to/enabling-wildcard-subdomains/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 14:03:55 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[subdomain]]></category>

		<category><![CDATA[wildcard]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=301</guid>
		<description><![CDATA[When you install WPMU by default the subdomain option is checked. This is for blogs in the format of username.yourdomain.com.
There are two steps that need to be done to your server in order for this to work.
In Apache, there needs to be a line in the domain&#8217;s virtual hosts section as follows:

    [...]]]></description>
			<content:encoded><![CDATA[<p>When you install WPMU by default the subdomain option is checked. This is for blogs in the format of username.yourdomain.com.</p>
<p>There are two steps that need to be done to your server in order for this to work.</p>
<p>In Apache, there needs to be a line in the domain&#8217;s virtual hosts section as follows:</p>
<p><VirtualHost 11.11.11.11:80><br />
    ServerName yourdomain.com<br />
    ServerAlias yourdomain.com *.yourdomain.com<br />
    DocumentRoot /your/doc/root/<br />
    ServerAdmin webmaster@yourdomain.com<br />
</VirtualHost></p>
<p>The Server Alias line with the *.yourdomain.com is what controls this. If you do not have access to change this, ask your webhost for support. More and more hosts are enabling this by default.</p>
<p>The second thing that needs to be done is adding the DNS record. Where you add it depends on your domain hosting. Basically, you need to add a line like this:</p>
<p>*. in A YOURIPADDRESS</p>
<p>These wildcards mean that any subdomain request will fall through to the WPMU install, where MU will look up the name in the database. If it finds it, it serves up the blog.</p>
<p>Note: if you choose the subfolder option on installation, you do not have to do either one of these steps.
<ul class="related_post">
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>October 17, 2009 &#8212; <a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/" title="Make a tags page like WordPress dot com">Make a tags page like WordPress dot com (7)</a></li>
<li>September 24, 2009 &#8212; <a href="http://wpmututorials.com/how-to/change-the-domain/" title="Changing the domain">Changing the domain (5)</a></li>
<li>August 19, 2009 &#8212; <a href="http://wpmututorials.com/how-to/getting-member-blog-posts-on-the-main-page/" title="Getting member blog posts on the main page">Getting member blog posts on the main page (12)</a></li>
<li>August 13, 2009 &#8212; <a href="http://wpmututorials.com/news/another-new-release-and-upcoming/" title="Another new release, and upcoming">Another new release, and upcoming (6)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/how-to/enabling-wildcard-subdomains/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/enabling-wildcard-subdomains/#comments">7 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/enabling-wildcard-subdomains/&title=Enabling wildcard subdomains">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/apache/" rel="tag">apache</a>, <a href="http://wpmututorials.com/tag/dns/" rel="tag">dns</a>, <a href="http://wpmututorials.com/tag/subdomain/" rel="tag">subdomain</a>, <a href="http://wpmututorials.com/tag/wildcard/" rel="tag">wildcard</a>, <a href="http://wpmututorials.com/tag/wordpressmu/" rel="tag">wordpressmu</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=xckvDrrlXeQ:OFm4igfXorI:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=xckvDrrlXeQ:OFm4igfXorI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=xckvDrrlXeQ:OFm4igfXorI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=xckvDrrlXeQ:OFm4igfXorI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=xckvDrrlXeQ:OFm4igfXorI:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/xckvDrrlXeQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/enabling-wildcard-subdomains/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/how-to/enabling-wildcard-subdomains/</feedburner:origLink></item>
		<item>
		<title>WordCamp New York</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/bTOIaZa6Flk/</link>
		<comments>http://wpmututorials.com/news/wordcamp-new-york/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:06:08 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[wcnyc]]></category>

		<category><![CDATA[wordcamp]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=300</guid>
		<description><![CDATA[Be there or be square - WordCamp NYC is shaping up to be HUGE. Not only did they get a bigger venue, there will be EIGHT tracks. One of which is BuddyPress/WPMU.
And in a couple of those tracks, both Ron and I will be speaking. Yes, that is correct - we will be there with [...]]]></description>
			<content:encoded><![CDATA[<p>Be there or be square - <a href="http://2009.newyork.wordcamp.org/">WordCamp NYC</a> is shaping up to be HUGE. Not only did they get a bigger venue, there will be EIGHT tracks. One of which is BuddyPress/WPMU.</p>
<p>And in a couple of those tracks, both Ron and I will be speaking. Yes, that is correct - <strong>we will be there</strong> with bells on and speaking in (at this point) three different sessions. I&#8217;ll be showcasing some WPMU-based sites that are not just free blog hosts, as well as walking through a couple of setups in a how-to. Ron will be doing one on WPMU plugins.</p>
<p> I know <a href="http://">Jim Groom is going to show up</a> (possibly with an eye patch) for the Education track and do a talk as well. It&#8217;s shaping up to be party time, that&#8217;s for sure.</p>
<p>Will we see you there? <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />
<ul class="related_post">
<li>June 12, 2009 &#8212; <a href="http://wpmututorials.com/how-to/building-a-better-blog-host-week-1/" title="Building a better blog host: Week 1">Building a better blog host: Week 1 (4)</a></li>
<li>June 3, 2009 &#8212; <a href="http://wpmututorials.com/hacks/muing-wp/" title="MU&#8217;ing WP">MU&#8217;ing WP (3)</a></li>
<li>October 26, 2009 &#8212; <a href="http://wpmututorials.com/plugins/featured-posts-plugin-and-widget/" title="Featured posts plugin and widget">Featured posts plugin and widget (7)</a></li>
<li>October 26, 2009 &#8212; <a href="http://wpmututorials.com/how-to/enabling-wildcard-subdomains/" title="Enabling wildcard subdomains">Enabling wildcard subdomains (7)</a></li>
<li>October 17, 2009 &#8212; <a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/" title="Make a tags page like WordPress dot com">Make a tags page like WordPress dot com (7)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/news/wordcamp-new-york/">Permalink</a> |
<a href="http://wpmututorials.com/news/wordcamp-new-york/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/news/wordcamp-new-york/&title=WordCamp New York">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/wcnyc/" rel="tag">wcnyc</a>, <a href="http://wpmututorials.com/tag/wordcamp/" rel="tag">wordcamp</a>, <a href="http://wpmututorials.com/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://wpmututorials.com/tag/wordpressmu/" rel="tag">wordpressmu</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=bTOIaZa6Flk:flW--RendcE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=bTOIaZa6Flk:flW--RendcE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=bTOIaZa6Flk:flW--RendcE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=bTOIaZa6Flk:flW--RendcE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=bTOIaZa6Flk:flW--RendcE:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/bTOIaZa6Flk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/news/wordcamp-new-york/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/news/wordcamp-new-york/</feedburner:origLink></item>
		<item>
		<title>Make a tags page like WordPress dot com</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/GR03aiI4KyE/</link>
		<comments>http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 01:24:14 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[tag cloud]]></category>

		<category><![CDATA[tag page]]></category>

		<category><![CDATA[tag results]]></category>

		<category><![CDATA[templates]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=298</guid>
		<description><![CDATA[We&#8217;ve all seen it, the massive tags results page at wordpress.com. I&#8217;ve been asked a few times how it was done, then realized while writing it out for someone that I hadn&#8217;t yet written up and posted a full-blown tutorial. So, here you go.
The biggest puzzle piece you need to know is it is mostly [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve all seen it, the massive <a href="http://en.wordpress.com/tags/">tags results page at wordpress.com</a>. I&#8217;ve been asked a few times how it was done, then realized while writing it out for someone that I hadn&#8217;t yet written up and posted a full-blown tutorial. So, here you go.</p>
<p>The biggest puzzle piece you need to know is it is mostly done through the use of a page template file. Here&#8217;s a codex link explaining <a href="http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates">what page templates are and how to make one</a>. This means you can also do the same technique on a single WordPress blog, without the plugin mentioned below. It also works on <em>any</em> WordPress theme.</p>
<p>On a WPMU site, you will probably want to have the tag cloud appear sitewide. If you&#8217;ve already got the <a href="http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/">Sitewide tags plugin</a> installed, most of the work has been done.</p>
<p>Open up your favorite code editor. If you don&#8217;t have one, just use Notepad. Put these lines at the top of the empty file:<br />
<code>&lt;?php<br />
/*<br />
Template Name: Tags<br />
*/<br />
?&gt;</code><br />
The rest of the code for the page depends on your theme, so go grab the content of the page.php template file, or single.php. Paste it all under our template declaration.  In this example, I&#8217;ll be using the Flexx theme I use on the main blog at HomeschoolJournal. This is also my tags blog.</p>
<p>Now, this next part depends on your theme. Instead of the page content, we want it to show tags results. So, we have to rip out the code that pulls the posts and replace it with the code to show tags. But, we also have to keep the styling. For many themes, this usually means there&#8217;s a div there called &#8220;main&#8221; or &#8220;content&#8221;. Rip out all the code in that div, including any calls to the sidebar.  You should be left with something like this:<br />
<code><br />
&lt;?php<br />
/*<br />
Template Name: Tags<br />
*/<br />
?&gt;</code></p>
<p>&lt;?php get_header(); ?&gt;</p>
<p>&lt;div class=&#8221;content&#8221; id=&#8221;content&#8221;&gt;</p>
<p>&lt;/div&gt;&lt;!&#8211;end #content&#8211;&gt;</p>
<p>&lt;?php get_footer();  ?&gt;</p>
<p>In the content div, all we have to do now is add the template tag to call the tag cloud.</p>
<p><code>&lt;?php wp_tag_cloud('smallest=12&amp;largest=52&amp;orderby=count'); ?&gt;</code></p>
<p>The <a href="http://codex.wordpress.org/Template_Tags/wp_tag_cloud">wp_tag_cloud</a> function used here has arguments included to to show the tag cloud in much larger font and order it by smallest amount of tags to largest. You can read the codex page I linked to in case you want to explore others ways to display this. Save your page template as something like tags.php or tag-cloud. (tag.php is a reserved template filename) Upload it to the theme directory of your tags blog.</p>
<p>We&#8217;ve made our page template, now we have to show it. Log in to the backend of your tags blog and write a new Page. Called it tags. Original, I know - yes, you can call it anything you like. You won&#8217;t need to add any content to the page, but you do need to look to the meta boxes on the right. There should be an option to choose a new page template.</p>
<p>If there isn&#8217;t, just switch your theme to the default and back again. It should reset thing and force WPMU to recognize the template.</p>
<p>Publish the new page and <a href="http://homeschooljournal.net/sitewide-tags/">view your big honking sitewide tag cloud in all its glory</a>. You may want to do some tweaking (ex: I added back a div called &#8220;post&#8221;).</p>
<p>If you do this, leave a comment with your link so we can all see.
<ul class="related_post">
<li>June 8, 2009 &#8212; <a href="http://wpmututorials.com/news/new-series-starting-friday/" title="New series starting Friday">New series starting Friday (5)</a></li>
<li>October 26, 2009 &#8212; <a href="http://wpmututorials.com/how-to/enabling-wildcard-subdomains/" title="Enabling wildcard subdomains">Enabling wildcard subdomains (7)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>September 29, 2009 &#8212; <a href="http://wpmututorials.com/how-to/option-arrays/" title="Option Arrays">Option Arrays (4)</a></li>
<li>September 28, 2009 &#8212; <a href="http://wpmututorials.com/how-to/writing-plugins/" title="Writing Plugins (for WP &#038; WPMU)">Writing Plugins (for WP &#038; WPMU) (2)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/#comments">7 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/&title=Make a tags page like WordPress dot com">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/how-to/" rel="tag">how to</a>, <a href="http://wpmututorials.com/tag/tag-cloud/" rel="tag">tag cloud</a>, <a href="http://wpmututorials.com/tag/tag-page/" rel="tag">tag page</a>, <a href="http://wpmututorials.com/tag/tag-results/" rel="tag">tag results</a>, <a href="http://wpmututorials.com/tag/templates/" rel="tag">templates</a>, <a href="http://wpmututorials.com/tag/wordpressmu/" rel="tag">wordpressmu</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=GR03aiI4KyE:BOvdW-3FSmM:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=GR03aiI4KyE:BOvdW-3FSmM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=GR03aiI4KyE:BOvdW-3FSmM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=GR03aiI4KyE:BOvdW-3FSmM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=GR03aiI4KyE:BOvdW-3FSmM:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/GR03aiI4KyE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/</feedburner:origLink></item>
		<item>
		<title>Some great tutorials around</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/XGDBviRn4mg/</link>
		<comments>http://wpmututorials.com/elsewhere/some-great-tutorials-around/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 17:32:51 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[elsewhere]]></category>

		<category><![CDATA[chuck norris]]></category>

		<category><![CDATA[migrate]]></category>

		<category><![CDATA[post by email]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=296</guid>
		<description><![CDATA[A few posts caught my eye today, and I thought I&#8217;d share the good ones.
Posting to WordPress MU by Email - which, has been done, but this is more an experiment to make it way easier and automated.
Migrating a WordPress MU, WordPress or BuddyPress site from localhost to a live site - Dave does a [...]]]></description>
			<content:encoded><![CDATA[<p>A few posts caught my eye today, and I thought I&#8217;d share the good ones.</p>
<p><a href="http://blogs.canalplan.org.uk/steve/2009/10/07/posting-to-wordpress-mu-by-email/">Posting to WordPress MU by Email</a> - which, has been done, but this is more an experiment to make it way easier and automated.</p>
<p><a href="http://www.interconnectit.com/719/migrating-a-wordpresswpmubuddypress-website/">Migrating a WordPress MU, WordPress or BuddyPress site from localhost to a live site</a> - Dave does a great job with carefully explaining the step by step process.</p>
<p>As an added bonus, sometimes at night we get a little goofy on twitter. One thing led to another, and well, I did a little Chuck Norris on Wordpress plugin. It adds a line about Chuck Norris* in your admin area for endless amusement.</p>
<p><a href="http://wpmututorials.com/wp-content/plugins/download-monitor/download.php?id=15" title="Version 1 downloaded 46 times" >Chuck Norris Advice (46)</a></p>
<p>* Who do you think stops spam anyway? Askismet is just a cover for Chuck.
<ul class="related_post">
<li>May 21, 2009 &#8212; <a href="http://wpmututorials.com/elsewhere/how-to-move-wordpressmu/" title="How to move WordpressMU">How to move WordpressMU (0)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/elsewhere/some-great-tutorials-around/">Permalink</a> |
<a href="http://wpmututorials.com/elsewhere/some-great-tutorials-around/#comments">No comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/elsewhere/some-great-tutorials-around/&title=Some great tutorials around">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/chuck-norris/" rel="tag">chuck norris</a>, <a href="http://wpmututorials.com/tag/migrate/" rel="tag">migrate</a>, <a href="http://wpmututorials.com/tag/post-by-email/" rel="tag">post by email</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=XGDBviRn4mg:eFAqHqRO9w0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=XGDBviRn4mg:eFAqHqRO9w0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=XGDBviRn4mg:eFAqHqRO9w0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=XGDBviRn4mg:eFAqHqRO9w0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=XGDBviRn4mg:eFAqHqRO9w0:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/XGDBviRn4mg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/elsewhere/some-great-tutorials-around/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/elsewhere/some-great-tutorials-around/</feedburner:origLink></item>
		<item>
		<title>Option Arrays</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/EcIFgmNj8Es/</link>
		<comments>http://wpmututorials.com/how-to/option-arrays/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 18:14:54 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpress mu]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=292</guid>
		<description><![CDATA[In the Top 10 Most Common Coding Mistakes in WordPress Plugins, third on Ozh&#8217;s list is &#8220;3. What? 87 new rows in the option table?&#8221;. In any of the plugins (and themes) I&#8217;ve looked at that use the built-in option saving functionality each field on the options page is being saved as a separate record [...]]]></description>
			<content:encoded><![CDATA[<p>In the <a href="http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-plugins/">Top 10 Most Common Coding Mistakes in WordPress Plugins</a>, third on <a href="http://planetozh.com/">Ozh</a>&#8217;s list is &#8220;3. What? 87 new rows in the option table?&#8221;. In any of the plugins (and themes) I&#8217;ve looked at that use the built-in option saving functionality each field on the options page is being saved as a separate record in the options table.</p>
<p>These option pages can be written to save the plugin options as an array in a single record in the options table. This post is really a Part II to <a href="http://wpmututorials.com/how-to/writing-plugins/">yesterday&#8217;s post</a>, so I I&#8217;m going to use the <a href="http://mou.me.uk/projects/wordpress/plugins/facebook-dashboard-widget/">Facebook Dashboard Widget</a> options page for code samples.</p>
<p>In yesterday&#8217;s post I added a function that defined a whitelist array. For reference, here is the array:</p>
<p><code>	$added = array( 'fdw_options' => array( 'fdw_showupdates',<br />
		'fdw_updatesfeed',<br />
		'fdw_updatesmax',<br />
		'fdw_updatesheight',<br />
		'fdw_updatesnewheight',<br />
		'fdw_updateswidth',<br />
		'fdw_shownotifications',<br />
		'fdw_notificationsfeed',<br />
		'fdw_notificationsmax',<br />
		'fdw_notificationsheight',<br />
		'fdw_notificationsnewheight',<br />
		'fdw_notificationswidth',<br />
		'fdw_showposted',<br />
		'fdw_postedfeed',<br />
		'fdw_postedmax',<br />
		'fdw_postedheight',<br />
		'fdw_postednewheight',<br />
		'fdw_postedwidth')<br />
	);</p>
<p></code></p>
<p>For each of the elements of the value array ( &#8216;fdw_showupdates&#8217;, &#8216;fdw_updatesfeed&#8217;, etc.) there is a corresponding field on the option form:</p>
<p><code><br />
&lt;select name="fdw_showupdates"><br />
&lt;option value="no"&lt;?php if ( $fdw->updates_show == "no" ) { echo ' selected="selected"'; } ?>>No&lt;/option><br />
&lt;option value="yes"&lt;?php if ( $fdw->updates_show == "yes" ) { echo ' selected="selected"'; } ?>>Yes&lt;/option><br />
&lt;/select><br />
</code></p>
<p>To implement as an array we need to come up with an option name. The one I chose was <strong>fb_dash_widget</strong>. To convert the field to be saved in that array I changed the name attribute to <strong>fd_dash_widget[showupdates]</strong>:</p>
<p><code><br />
&lt;select name="fd_dash_widget[showupdates]&#8220;><br />
&lt;option value=&#8221;no&#8221;&lt;?php if ( $fdw->updates_show == &#8220;no&#8221; ) { echo &#8216; selected=&#8221;selected&#8221;&#8216;; } ?>>No&lt;/option><br />
&lt;option value=&#8221;yes&#8221;&lt;?php if ( $fdw->updates_show == &#8220;yes&#8221; ) { echo &#8216; selected=&#8221;selected&#8221;&#8216;; } ?>>Yes&lt;/option><br />
&lt;/select><br />
</code></p>
<p>If all of the controls on the option form are named <strong>fd_dash_widget[unique_element_name]</strong> they will be posted by the browser as an element in the fd_dash_widget array. Once I made that change with all of the option fields on the form I updated the whitelist filter that I added yesterday:</p>
<p><code><br />
function fdw_whitelist($options) {<br />
	$added = array( 'fdw_options' => array( 'fb_dash_widget' ) );<br />
	$options = add_option_whitelist( $added, $options );<br />
	return $options;<br />
}<br />
add_filter('whitelist_options', 'fdw_whitelist');<br />
</code> </p>
<p>I haven&#8217;t had a chance to test it, but I expect a similar strategy could be used with theme options pages. A final note is that Chris, the author of the Facebook Dashboard Widget, left me a comment. So, I&#8217;ve been in contact with him and will be sending my revisions to him. At some point in the coming weeks, he should be releasing a new version.
<ul class="related_post">
<li>September 28, 2009 &#8212; <a href="http://wpmututorials.com/how-to/writing-plugins/" title="Writing Plugins (for WP &#038; WPMU)">Writing Plugins (for WP &#038; WPMU) (2)</a></li>
<li>September 26, 2009 &#8212; <a href="http://wpmututorials.com/hacks/community-service/" title="Community Service">Community Service (3)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>October 17, 2009 &#8212; <a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/" title="Make a tags page like WordPress dot com">Make a tags page like WordPress dot com (7)</a></li>
<li>August 2, 2009 &#8212; <a href="http://wpmututorials.com/plugins/wordpress-mu-theme-stats/" title="Wordpress MU Theme Stats">Wordpress MU Theme Stats (3)</a></li>
</ul>
&nbsp; <hr />
<p><small>© ahome for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/how-to/option-arrays/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/option-arrays/#comments">4 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/option-arrays/&title=Option Arrays">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/how-to/" rel="tag">how to</a>, <a href="http://wpmututorials.com/tag/plugins/" rel="tag">Plugins</a>, <a href="http://wpmututorials.com/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://wpmututorials.com/tag/wordpress-mu/" rel="tag">wordpress mu</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=EcIFgmNj8Es:ZbPWdrA6IMY:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=EcIFgmNj8Es:ZbPWdrA6IMY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=EcIFgmNj8Es:ZbPWdrA6IMY:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=EcIFgmNj8Es:ZbPWdrA6IMY:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=EcIFgmNj8Es:ZbPWdrA6IMY:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/EcIFgmNj8Es" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/option-arrays/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/how-to/option-arrays/</feedburner:origLink></item>
		<item>
		<title>Writing Plugins (for WP &amp; WPMU)</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/PSgsipVg--8/</link>
		<comments>http://wpmututorials.com/how-to/writing-plugins/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 13:13:34 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[Plugins]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpress mu]]></category>

		<category><![CDATA[wp-wmpu merge]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=291</guid>
		<description><![CDATA[All of our children have a blog on one of our WPMU installs. One of them asked Andrea if we could add a facebook plugin so she could follow her facebook stream from her blog. The plugin that Andrea found that she thought would do the trick was the Facebook Dashboard Widget.
After Andrea installed the [...]]]></description>
			<content:encoded><![CDATA[<p>All of our children have a blog on one of our WPMU installs. One of them asked Andrea if we could add a facebook plugin so she could follow her facebook stream from her blog. The plugin that Andrea found that she thought would do the trick was the <a href="http://mou.me.uk/projects/wordpress/plugins/facebook-dashboard-widget/">Facebook Dashboard Widget</a>.</p>
<p>After Andrea installed the plugin, our daughter tried it out and found that the options page would not save any settings. I&#8217;ve fixed that issue in a few WP plugins in the last few months. It is a fairly straight forward process:</p>
<p>Search through the plugin code and look for functions being added to the the <strong>admin_menu</strong> hook. In this plugin it was around line 640:</p>
<p><code>add_action('admin_menu', 'fdw_menus');</code></p>
<p>Now, I needed to find the <strong>fdw_menus</strong> function. In this case, it was right above the hook:</p>
<p><code>function fdw_menus() {<br />
	if (current_user_can('manage_options')) {<br />
		if (function_exists('add_options_page')) {<br />
			add_options_page(__('Facebook Dashboard Widget', 'fdw'), __('Facebook Dashboard Widget', 'fdw'), 8, __FILE__, 'fdw_options');<br />
		}<br />
	}<br />
}</code></p>
<p>What I was looking for in that function was the function name that WP/WPMU calls for the admin page. In this case it&#8217;s <strong>fdw_options</strong>. That function can be found at about line 385. The first few lines are</p>
<p><code>function fdw_options() {<br />
	global $fdw;<br />
	?&gt;<br />
    &lt;div class="wrap"&gt;<br />
		&lt;form method="post" action="options.php" style="margin-bottom: 60px;"&gt;<br />
			&lt;h2&gt;&lt;?php echo __('Facebook Dashboard Widget Options', 'fdw') ?&gt;&lt;/h2&gt;<br />
			&lt;?php wp_nonce_field('update-options') ?&gt;<br />
</code></p>
<p>There are two changes that I made in this code. I commented out the call to <strong>wp_nonce_field</strong> (It&#8217;s okay to completely remove it because the settings_field that I mention next adds its own wp_nonce_field). And, I added a call to <strong>settings_fields</strong> passing the name of the option page function as a parameter:</p>
<p><code>function fdw_options() {<br />
	global $fdw;<br />
	?&gt;<br />
    &lt;div class="wrap"&gt;<br />
		&lt;form method="post" action="options.php" style="margin-bottom: 60px;"&gt;<br />
&lt;?php settings_fields('fdw_options'); ?&gt;<br />
			&lt;h2&gt;&lt;?php echo __('Facebook Dashboard Widget Options', 'fdw') ?&gt;&lt;/h2&gt;<br />
			&lt;?php //wp_nonce_field('update-options') ?&gt;<br />
</code></p>
<p>There&#8217;s another change that needs to be made. For this part, I looked through the form HTML of the options page for hidden element called <strong>page_options</strong>. I found it at about line 590:</p>
<p><code><input type="hidden" name="page_options" value="fdw_showupdates, fdw_updatesfeed, fdw_updatesmax, fdw_updatesheight, fdw_updatesnewheight, fdw_updateswidth, fdw_shownotifications, fdw_notificationsfeed, fdw_notificationsmax, fdw_notificationsheight, fdw_notificationsnewheight, fdw_notificationswidth, fdw_showposted, fdw_postedfeed, fdw_postedmax, fdw_postedheight, fdw_postednewheight, fdw_postedwidth" /></code></p>
<p>What I needed from this is the comma separated list that is the page_options&#8217; value (fdw_showupdates, fdw_updatesfeed, &#8230;). I used that list in a new function that I added to the bottom of the plugin:</p>
<p><code>function fdw_whitelist($options) {<br />
	$added = array( 'fdw_options' => array( 'fdw_showupdates',<br />
		'fdw_updatesfeed',<br />
		'fdw_updatesmax',<br />
		'fdw_updatesheight',<br />
		'fdw_updatesnewheight',<br />
		'fdw_updateswidth',<br />
		'fdw_shownotifications',<br />
		'fdw_notificationsfeed',<br />
		'fdw_notificationsmax',<br />
		'fdw_notificationsheight',<br />
		'fdw_notificationsnewheight',<br />
		'fdw_notificationswidth',<br />
		'fdw_showposted',<br />
		'fdw_postedfeed',<br />
		'fdw_postedmax',<br />
		'fdw_postedheight',<br />
		'fdw_postednewheight',<br />
		'fdw_postedwidth', )<br />
	);<br />
	$options = add_option_whitelist( $added, $options );<br />
	return $options;<br />
}<br />
</code></p>
<p>The $options parameter to the function is an array where the array key of each element is the name of the option page that the element applies to. The form in this plugin is <strong>fdw_options</strong>. The value of the array element is an array of option fields on the option page. So, I just converted the comma separated list into an array of values. The call to <strong>add_option_whitelist</strong> merges the $options parameter and the array I just created.</p>
<p>The last thing to do is hook my function into WP/WPMU. The filter for this is <strong>whitelist_options</strong></p>
<p><code>add_filter('whitelist_options', 'fdw_whitelist');<br />
</code></p>
<p>After those changes the plugin works in both WordPress and WordPress MU (only tested with 2.8.X).
<ul class="related_post">
<li>September 29, 2009 &#8212; <a href="http://wpmututorials.com/how-to/option-arrays/" title="Option Arrays">Option Arrays (4)</a></li>
<li>September 26, 2009 &#8212; <a href="http://wpmututorials.com/hacks/community-service/" title="Community Service">Community Service (3)</a></li>
<li>June 3, 2009 &#8212; <a href="http://wpmututorials.com/hacks/muing-wp/" title="MU&#8217;ing WP">MU&#8217;ing WP (3)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>October 17, 2009 &#8212; <a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/" title="Make a tags page like WordPress dot com">Make a tags page like WordPress dot com (7)</a></li>
</ul>
&nbsp; <hr />
<p><small>© ahome for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/how-to/writing-plugins/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/writing-plugins/#comments">2 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/writing-plugins/&title=Writing Plugins (for WP &#038; WPMU)">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/how-to/" rel="tag">how to</a>, <a href="http://wpmututorials.com/tag/plugins/" rel="tag">Plugins</a>, <a href="http://wpmututorials.com/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://wpmututorials.com/tag/wordpress-mu/" rel="tag">wordpress mu</a>, <a href="http://wpmututorials.com/tag/wp-wmpu-merge/" rel="tag">wp-wmpu merge</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=PSgsipVg--8:oDwN0By0uCg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=PSgsipVg--8:oDwN0By0uCg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=PSgsipVg--8:oDwN0By0uCg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=PSgsipVg--8:oDwN0By0uCg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=PSgsipVg--8:oDwN0By0uCg:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/PSgsipVg--8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/writing-plugins/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/how-to/writing-plugins/</feedburner:origLink></item>
		<item>
		<title>Community Service</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/FbtTt_hzo5k/</link>
		<comments>http://wpmututorials.com/hacks/community-service/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 17:52:21 +0000</pubDate>
		<dc:creator>Ron</dc:creator>
		
		<category><![CDATA[Hacks]]></category>

		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[wordpress mu]]></category>

		<category><![CDATA[wp-wmpu merge]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=289</guid>
		<description><![CDATA[In this comment, Jane Wells mentioned the idea of volunteering for 2 hrs per month toward the WordPress  community. Even though Andrea &#038; I do significantly more hours than that on any month, I think it&#8217;s a great idea. So, last night I revisited the exploratory development work I did a few months back. [...]]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://apeatling.wordpress.com/2009/09/25/give-a-little/#comment-7277">this comment</a>, <a href="http://jane.wordpress.com/">Jane Wells</a> mentioned the idea of volunteering for 2 hrs per month toward the WordPress  community. Even though Andrea &#038; I do significantly more hours than that on any month, I think it&#8217;s a great idea. So, last night I revisited the <a href="http://wpmututorials.com/hacks/muing-wp/">exploratory development</a> work I did a few months back. </p>
<p>The reason I chose to revisit that particular project was that the discussion of the code base merge between WordPress and WordPress MU resurfaced again.  The merge was announced about 4 months ago. About once a month a conversation sparks about the uncertain outcome of the merge. What&#8217;s unfortunate about those conversations is that most of the code merge has already been done. </p>
<p>The 3 significant things remaining to be done to merge the two code bases are:</p>
<ol>
<li>Implement a common installation process</li>
<li>Implement a common registration process</li>
<li>Develop the ability to turn on multi-blogs via option settings</li>
</ol>
<p>The link below is to an archive containing a slightly modified version of WordPress MU. I added 2 check boxes to the install screen:</p>
<p><a href="http://wpmututorials.com/files/2009/09/install-extra.png"><img src="http://wpmututorials.com/files/2009/09/install-extra.png" alt="install-extra" title="install-extra" width="744" height="150" class="alignleft size-full wp-image-290" /></a></p>
<p>If you <strong>do not</strong> check the &#8220;Use the existing WordPress blog as the main blog&#8221;, the installer will create a standard WordPress MU 2.8.5-dev install. The install should function the same as WordPress MU 2.8.5-dev from trac. </p>
<p>If you <strong>do</strong> check the &#8220;Use the existing WordPress blog as the main blog&#8221;, provide the database details for a standard WordPress 2.8.4 blog. The resulting install should function the same as a standard WordPress MU 2.8.5-dev from trac install. Note that the main blog&#8217;s upload directory will remain /wp-content/uploads. </p>
<p>The Terms of Use checkbox is there to remind the person installing that this is a development version. <strong>Please practice safe hex by using this on a test site.</strong> <a href="http://wpmututorials.com/wp-content/plugins/download-monitor/download.php?id=14" title="Version 2.8.5-dev downloaded 37 times" >WordPress Multi Blog (37)</a>
<ul class="related_post">
<li>September 28, 2009 &#8212; <a href="http://wpmututorials.com/how-to/writing-plugins/" title="Writing Plugins (for WP &#038; WPMU)">Writing Plugins (for WP &#038; WPMU) (2)</a></li>
<li>September 29, 2009 &#8212; <a href="http://wpmututorials.com/how-to/option-arrays/" title="Option Arrays">Option Arrays (4)</a></li>
<li>June 3, 2009 &#8212; <a href="http://wpmututorials.com/hacks/muing-wp/" title="MU&#8217;ing WP">MU&#8217;ing WP (3)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>August 2, 2009 &#8212; <a href="http://wpmututorials.com/plugins/wordpress-mu-theme-stats/" title="Wordpress MU Theme Stats">Wordpress MU Theme Stats (3)</a></li>
</ul>
&nbsp; <hr />
<p><small>© ahome for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/hacks/community-service/">Permalink</a> |
<a href="http://wpmututorials.com/hacks/community-service/#comments">3 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/hacks/community-service/&title=Community Service">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/wordpress/" rel="tag">wordpress</a>, <a href="http://wpmututorials.com/tag/wordpress-mu/" rel="tag">wordpress mu</a>, <a href="http://wpmututorials.com/tag/wp-wmpu-merge/" rel="tag">wp-wmpu merge</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=FbtTt_hzo5k:sJo_wfKsb4k:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=FbtTt_hzo5k:sJo_wfKsb4k:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=FbtTt_hzo5k:sJo_wfKsb4k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=FbtTt_hzo5k:sJo_wfKsb4k:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=FbtTt_hzo5k:sJo_wfKsb4k:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/FbtTt_hzo5k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/hacks/community-service/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/hacks/community-service/</feedburner:origLink></item>
		<item>
		<title>Changing the domain</title>
		<link>http://feedproxy.google.com/~r/WpmuTutorials/~3/pXX0N4jSON0/</link>
		<comments>http://wpmututorials.com/how-to/change-the-domain/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 13:21:36 +0000</pubDate>
		<dc:creator>andrea</dc:creator>
		
		<category><![CDATA[how to]]></category>

		<category><![CDATA[change]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[domain]]></category>

		<category><![CDATA[edit]]></category>

		<category><![CDATA[move]]></category>

		<category><![CDATA[name]]></category>

		<category><![CDATA[wordpressmu]]></category>

		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://wpmututorials.com/?p=285</guid>
		<description><![CDATA[Sometimes this happens, you&#8217;ve built the site and have to or want to change the domain it&#8217;s on. Or you did dev work on a different domain and now it&#8217;s time to go live.
The domain name is actually stored in numerous places in the database, as well as one line in wp-config.php. Every single one [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes this happens, you&#8217;ve built the site and have to or want to change the domain it&#8217;s on. Or you did dev work on a different domain and now it&#8217;s time to go live.</p>
<p>The domain name is actually stored in numerous places in the database, as well as one line in wp-config.php. Every single one of these will need to be changed.</p>
<p>Before you do anything, backup. Go to phpMyAdmin, select your database, and choose Export. Save it to your computer. We&#8217;ll be making a copy of this and working on the copy. This way, if anything goes wrong, we still have our backup.</p>
<p>The database information - table structure, content, everything really - is stored in a file with the extension .sql. This can be read and edited in a simple text editor. If you&#8217;re a Windows user, try <a href="http://notepad-plus.sourceforge.net/uk/download.php">NotePad++</a> instead of the default Notepad.</p>
<p>Simple do a find and replace on olddomain.com to newdomain.com. Save your copy.</p>
<p>Method #1:<br />
- on the live site, verify you have that backup, then drop all the tables in the database.<br />
- import your edited sql file with the new domain name in it. (phpMyAdmin -> Import tab.)<br />
- edit wp-config.php with the new domain name<br />
- change the DNS records for the domain so the new one points to the right spot on your server if you haven&#8217;t done it already.</p>
<p>Method #2:<br />
- create an entirely new database. Use an existing db user &#038; password, or create a new one - your choice, as long as they have ALL privileges on this database.<br />
- import your edited sql file with the new domain name in it. (phpMyAdmin -> Import tab.)<br />
- edit wp-config.php with the new domain name AND the new database name, plus the new db user &#038; pass if you did this.<br />
- make sure your new domain is pointing to the right spot.</p>
<p>Do whatever you like with the old domain. <img src='http://wpmututorials.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul class="related_post">
<li>May 21, 2009 &#8212; <a href="http://wpmututorials.com/elsewhere/how-to-move-wordpressmu/" title="How to move WordpressMU">How to move WordpressMU (0)</a></li>
<li>April 27, 2009 &#8212; <a href="http://wpmututorials.com/how-to/pardon-the-dust/" title="Pardon the dust">Pardon the dust (6)</a></li>
<li>October 26, 2009 &#8212; <a href="http://wpmututorials.com/how-to/enabling-wildcard-subdomains/" title="Enabling wildcard subdomains">Enabling wildcard subdomains (7)</a></li>
<li>October 19, 2009 &#8212; <a href="http://wpmututorials.com/news/wordcamp-new-york/" title="WordCamp New York">WordCamp New York (1)</a></li>
<li>October 17, 2009 &#8212; <a href="http://wpmututorials.com/how-to/make-a-tags-page-like-wordpress-dot-com/" title="Make a tags page like WordPress dot com">Make a tags page like WordPress dot com (7)</a></li>
</ul>
&nbsp; <hr />
<p><small>© andrea for <a href="http://wpmututorials.com">WPMU Tutorials</a>, 2009. |
<a href="http://wpmututorials.com/how-to/change-the-domain/">Permalink</a> |
<a href="http://wpmututorials.com/how-to/change-the-domain/#comments">5 comments</a> |
Add to
<a href="http://del.icio.us/post?url=http://wpmututorials.com/how-to/change-the-domain/&title=Changing the domain">del.icio.us</a>
<br/>
Post tags: <a href="http://wpmututorials.com/tag/change/" rel="tag">change</a>, <a href="http://wpmututorials.com/tag/database/" rel="tag">database</a>, <a href="http://wpmututorials.com/tag/domain/" rel="tag">domain</a>, <a href="http://wpmututorials.com/tag/edit/" rel="tag">edit</a>, <a href="http://wpmututorials.com/tag/move/" rel="tag">move</a>, <a href="http://wpmututorials.com/tag/name/" rel="tag">name</a>, <a href="http://wpmututorials.com/tag/wordpressmu/" rel="tag">wordpressmu</a>, <a href="http://wpmututorials.com/tag/wpmu/" rel="tag">wpmu</a><br/>
</small></p>
<p>Need real genuine helpful support? <a href="http://musupport.net">MU Support</a>.</p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=pXX0N4jSON0:7b2SgEhb-uE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=pXX0N4jSON0:7b2SgEhb-uE:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=pXX0N4jSON0:7b2SgEhb-uE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?i=pXX0N4jSON0:7b2SgEhb-uE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/WpmuTutorials?a=pXX0N4jSON0:7b2SgEhb-uE:Miiyz6yFTis"><img src="http://feeds.feedburner.com/~ff/WpmuTutorials?d=Miiyz6yFTis" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/WpmuTutorials/~4/pXX0N4jSON0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://wpmututorials.com/how-to/change-the-domain/feed/</wfw:commentRss>
		<feedburner:origLink>http://wpmututorials.com/how-to/change-the-domain/</feedburner:origLink></item>
	</channel>
</rss>
