<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to use single WordPress codebase for multiple sites?</title>
	<atom:link href="http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/feed" rel="self" type="application/rss+xml" />
	<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites</link>
	<description>Online Business Investigations and Music Research</description>
	<lastBuildDate>Wed, 10 Mar 2010 22:10:11 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Guest</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-2153</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Fri, 08 Jan 2010 19:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-2153</guid>
		<description>I found this extremely useful and I wanted to add my input to contribute. You can still use a root install of WP using this method. 

You copy the index file out of the install base (which is symlinked) and put it in the root. Change the require command path to point to your install base directory. Like...

require(&#039;./wordpress/wp-blog-header.php&#039;);

So in your root you have:

wordpress install base (sym link)
.htaccess
index.php
wp-config.php

Make sure to change gobal settings to note the location of the install base and the root address under general settings.

Last thing for me to make this perfect is find a way to pull themes specific to an install without letting them be available to other installs. Any ideas?</description>
		<content:encoded><![CDATA[<p>I found this extremely useful and I wanted to add my input to contribute. You can still use a root install of WP using this method. </p>
<p>You copy the index file out of the install base (which is symlinked) and put it in the root. Change the require command path to point to your install base directory. Like&#8230;</p>
<p>require(&#8216;./wordpress/wp-blog-header.php&#8217;);</p>
<p>So in your root you have:</p>
<p>wordpress install base (sym link)<br />
.htaccess<br />
index.php<br />
wp-config.php</p>
<p>Make sure to change gobal settings to note the location of the install base and the root address under general settings.</p>
<p>Last thing for me to make this perfect is find a way to pull themes specific to an install without letting them be available to other installs. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-1825</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 09 Dec 2009 04:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-1825</guid>
		<description>I have done that by making a whole domain root as symbolic link to wordpress directory. But then domain is totally used for wordpress and nothing else, which is not suitable for all cases. I tried to use mod_rewrite yesterday to achieve same by htaccess but it wasnt as easy as I figured. Need to think if there is any option... usually there is. :)</description>
		<content:encoded><![CDATA[<p>I have done that by making a whole domain root as symbolic link to wordpress directory. But then domain is totally used for wordpress and nothing else, which is not suitable for all cases. I tried to use mod_rewrite yesterday to achieve same by htaccess but it wasnt as easy as I figured. Need to think if there is any option&#8230; usually there is. <img src='http://www.randapp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-1818</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 08 Dec 2009 10:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-1818</guid>
		<description>what i mean is to have WP serve the root domain
like  www.example.com
and NOT www.example.com/blog</description>
		<content:encoded><![CDATA[<p>what i mean is to have WP serve the root domain<br />
like  <a href="http://www.example.com" rel="nofollow">http://www.example.com</a><br />
and NOT <a href="http://www.example.com/blog" rel="nofollow">http://www.example.com/blog</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-1797</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 07 Dec 2009 09:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-1797</guid>
		<description>I dnt know exactly what you mean, but I actually use index.php to redirect to blog directory, which is a symbolic link to a single code base. Then URL changes, true, but you could do it with .htaccess and modrewite so that index.php -&gt; blog dir. That way you have blog on root, but can have other content, files and directories on root as well.</description>
		<content:encoded><![CDATA[<p>I dnt know exactly what you mean, but I actually use index.php to redirect to blog directory, which is a symbolic link to a single code base. Then URL changes, true, but you could do it with .htaccess and modrewite so that index.php -> blog dir. That way you have blog on root, but can have other content, files and directories on root as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-1789</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 07 Dec 2009 02:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-1789</guid>
		<description>Perfect idea to keep multi domains with single code, however I wonder what if you like to have WP serving your root domain?
using your method will force a dir.</description>
		<content:encoded><![CDATA[<p>Perfect idea to keep multi domains with single code, however I wonder what if you like to have WP serving your root domain?<br />
using your method will force a dir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-612</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 17 Oct 2009 07:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-612</guid>
		<description>Thanks for feedback Dan. You have a great concept of services on your site, I like it. Good to know about new WP 3.0, I need to keep eyes open for that. And yes, one reason for this directory structure is, that I can keep current working version, develop version or any other test version and easily manage plus switch between them from local WP index and htaccess file. I&#039;m using same principles with all my web app at the moment.</description>
		<content:encoded><![CDATA[<p>Thanks for feedback Dan. You have a great concept of services on your site, I like it. Good to know about new WP 3.0, I need to keep eyes open for that. And yes, one reason for this directory structure is, that I can keep current working version, develop version or any other test version and easily manage plus switch between them from local WP index and htaccess file. I&#8217;m using same principles with all my web app at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Koskinen</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-606</link>
		<dc:creator>Daniel Koskinen</dc:creator>
		<pubDate>Fri, 16 Oct 2009 12:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-606</guid>
		<description>The main benefit of MU in this case would be that you get a global admin for managing your sites/blogs. However by default MU is all in one database, unless you use a multi-db-extension such as the one provided my WPMUdev (http://wpmudev.org/). Also I see the approach you&#039;re using as conceptually more simple. Each site is separate, you&#039;re simply using the same codebase.

I also see a distinct advantage in your approach: if a WP upgrade breaks one site, you can keep it linked to an older WP version until you have time to fix it. 

WP 3.0 (should be out sometime next year) is supposed to merge the regular WP and WPMU codebases, so we&#039;ll see then how much sense this will make... but thanks for the post, very enlightening!</description>
		<content:encoded><![CDATA[<p>The main benefit of MU in this case would be that you get a global admin for managing your sites/blogs. However by default MU is all in one database, unless you use a multi-db-extension such as the one provided my WPMUdev (<a href="http://wpmudev.org/" rel="nofollow">http://wpmudev.org/</a>). Also I see the approach you&#8217;re using as conceptually more simple. Each site is separate, you&#8217;re simply using the same codebase.</p>
<p>I also see a distinct advantage in your approach: if a WP upgrade breaks one site, you can keep it linked to an older WP version until you have time to fix it. </p>
<p>WP 3.0 (should be out sometime next year) is supposed to merge the regular WP and WPMU codebases, so we&#8217;ll see then how much sense this will make&#8230; but thanks for the post, very enlightening!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tnelson</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-473</link>
		<dc:creator>Tnelson</dc:creator>
		<pubDate>Wed, 30 Sep 2009 22:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-473</guid>
		<description>Hey very nice blog!!....I&#039;m an instant fan, I have bookmarked you and I&#039;ll be checking back on a regular....See ya</description>
		<content:encoded><![CDATA[<p>Hey very nice blog!!&#8230;.I&#8217;m an instant fan, I have bookmarked you and I&#8217;ll be checking back on a regular&#8230;.See ya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-426</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 27 Sep 2009 07:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-426</guid>
		<description>Im not sure what features MU has, but I needed separate or individual database, domain and additional plugin, theme and media directories for each WP blog. This has been asked some times, so I need to check out MU and see main differences, if there are any.</description>
		<content:encoded><![CDATA[<p>Im not sure what features MU has, but I needed separate or individual database, domain and additional plugin, theme and media directories for each WP blog. This has been asked some times, so I need to check out MU and see main differences, if there are any.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar</title>
		<link>http://www.randapp.com/blog/how-to-use-single-wordpress-codebase-for-multiple-sites/comment-page-1#comment-424</link>
		<dc:creator>Oscar</dc:creator>
		<pubDate>Sun, 27 Sep 2009 06:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.randapp.com/blog/?p=591#comment-424</guid>
		<description>Thanks for the tip. But, why not just use Wordpress MU? It will do  the work for you. What are the advantages of this approach?

Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip. But, why not just use Wordpress MU? It will do  the work for you. What are the advantages of this approach?</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
