<?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>seventy6 &#187; wordpress</title>
	<atom:link href="http://www.seventy6.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seventy6.com</link>
	<description>code, design and things</description>
	<lastBuildDate>Fri, 03 Jun 2011 14:30:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>SQL for migrating a WordPress DB between domains</title>
		<link>http://www.seventy6.com/2010/05/05/sql-for-migrating-a-wordpress-db-between-domains/</link>
		<comments>http://www.seventy6.com/2010/05/05/sql-for-migrating-a-wordpress-db-between-domains/#comments</comments>
		<pubDate>Wed, 05 May 2010 15:59:42 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.seventy6.com/?p=216</guid>
		<description><![CDATA[When working locally on a wordpress site there&#8217;s 2 references to the local server address stored in wordpress&#8217; &#8216;wp_options&#8217; table. These handy bits of sql will update the DB when you have imported to the live server: /* update wordpress sql */ UPDATE `wp_options` SET `option_id`='1', `blog_id`='0', `option_name`='siteurl', `option_value`='[NEW DOMAIN NAME HERE]', `autoload`='yes' WHERE `option_id` [...]]]></description>
			<content:encoded><![CDATA[<p>When working locally on a wordpress site there&#8217;s 2 references to the local server address stored in wordpress&#8217; &#8216;wp_options&#8217; table. These handy bits of sql will update the DB when you have imported to the live server:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* update wordpress sql */</span>
<span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp_options`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`option_id`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'1'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`blog_id`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`option_name`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'siteurl'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`option_value`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'[NEW DOMAIN NAME HERE]'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`autoload`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'yes'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`option_id`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'1'</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #ff0000;">`blog_id`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'0'</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #ff0000;">`option_name`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'siteurl'</span>;
&nbsp;
<span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`wp_options`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`option_id`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'39'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`blog_id`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'0'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`option_name`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'home'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`option_value`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'[NEW DOMAIN NAME HERE]'</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">`autoload`</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">'yes'</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`option_id`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'39'</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #ff0000;">`blog_id`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'0'</span> <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #ff0000;">`option_name`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'home'</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.seventy6.com/2010/05/05/sql-for-migrating-a-wordpress-db-between-domains/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress mu and mamp pro</title>
		<link>http://www.seventy6.com/2009/01/21/wordpress-mu-and-mamp-pro/</link>
		<comments>http://www.seventy6.com/2009/01/21/wordpress-mu-and-mamp-pro/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 19:25:21 +0000</pubDate>
		<dc:creator>nick</dc:creator>
				<category><![CDATA[servers]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.seventy6.com/?p=36</guid>
		<description><![CDATA[If your trying to get WordPress mu working on your local testing serving running Mamp Pro; you might get an unexpected port number warning. To get round this in Mamp Pro click on &#8216;Server&#8217; button. Within the &#8216;General&#8217; tab click &#8216;Default ports&#8217; button for the Apache ports. This will change the port number to 80 [...]]]></description>
			<content:encoded><![CDATA[<p>If your trying to get <a title="Wordpress mu" href="http://mu.wordpress.org">WordPress mu</a> working on your local testing serving running <a title="Mamp Pro" href="http://www.mamp.info/en/mamp-pro/">Mamp Pro;</a> you might get an unexpected port number warning. To get round this in Mamp Pro click on &#8216;Server&#8217; button. Within the &#8216;General&#8217; tab click &#8216;Default ports&#8217; button for the Apache ports. This will change the port number to 80 &#8211; the standard port for http serving.<span id="more-36"></span></p>
<p>By making this small adjustment your test domain urls will now look like test-domain.test/ instead of test-domain.test:8888/.</p>
<p>Make sure when you set up a new test domain always use a .test, .local etc domain extension. Basically not the live site domain &#8211; no end of problems will start for you! Also, I have the &#8216;Local name resolution&#8217; checked under the domain name.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seventy6.com/2009/01/21/wordpress-mu-and-mamp-pro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

