<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Nash &#187; wordpress</title>
	<atom:link href="http://davidnash.com.au/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidnash.com.au</link>
	<description>Freelance PHP developer - builder of high-quality dynamic websites</description>
	<lastBuildDate>Sun, 25 Jul 2010 23:56:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Duplicate Wordpress site for local development and testing environment</title>
		<link>http://davidnash.com.au/2009/08/duplicate-wordpress-site-for-local-development-and-testing-environment/</link>
		<comments>http://davidnash.com.au/2009/08/duplicate-wordpress-site-for-local-development-and-testing-environment/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 04:38:45 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[localhost]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=188</guid>
		<description><![CDATA[1. Download all files from eg http://example.com, upload to eg http://localhost/example/.
2. Export mysql database from example.com
3. Create a local mysql database with the same user, password and database name. These can be found in wp-config.php
4. Import the database into your new local account
5. Log in to the database, and do:
[sourcecode language='sql']
update wp_options set option_value=&#8217;http://localhost/example/&#8217; where [...]]]></description>
			<content:encoded><![CDATA[<p>1. Download all files from eg http://example.com, upload to eg http://localhost/example/.<br />
2. Export mysql database from example.com<br />
3. Create a local mysql database with the same user, password and database name. These can be found in wp-config.php<br />
4. Import the database into your new local account<br />
5. Log in to the database, and do:<br />
[sourcecode language='sql']<br />
update wp_options set option_value=&#8217;http://localhost/example/&#8217; where option_id=1<br />
[/sourcecode]<br />
You&#8217;ll now be able to log in at http://localhost/example/wp-admin, using the same username and password as http://example.com/wp-admin.<br />
5. In Wordpress, click &#8216;Settings&#8217; and change the blog address to your local address.<br />
6. Profit!</p>



Share:


	<a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F&amp;title=Duplicate%20Wordpress%20site%20for%20local%20development%20and%20testing%20environment" title="del.icio.us"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F&amp;t=Duplicate%20Wordpress%20site%20for%20local%20development%20and%20testing%20environment" title="Facebook"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F&amp;title=Duplicate%20Wordpress%20site%20for%20local%20development%20and%20testing%20environment" title="Google"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="mailto:?subject=Duplicate%20Wordpress%20site%20for%20local%20development%20and%20testing%20environment&amp;body=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F" title="E-mail this story to a friend!"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F" title="Technorati"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fdavidnash.com.au%2F2009%2F08%2Fduplicate-wordpress-site-for-local-development-and-testing-environment%2F" title="TwitThis"><img src="http://davidnash.com.au/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://davidnash.com.au/2009/08/duplicate-wordpress-site-for-local-development-and-testing-environment/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
