<?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>i shine light &#187; Wordpress</title>
	<atom:link href="http://www.ishinelight.com/category/web-development/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ishinelight.com</link>
	<description>in a digital world</description>
	<lastBuildDate>Mon, 21 Sep 2009 03:29:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How-to Transfer a WordPress Site</title>
		<link>http://www.ishinelight.com/2009/02/how-to-transfer-a-wordpress-site/</link>
		<comments>http://www.ishinelight.com/2009/02/how-to-transfer-a-wordpress-site/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 19:03:49 +0000</pubDate>
		<dc:creator>Aaron Reimann</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://dev4.aaronreimann.com/?p=20</guid>
		<description><![CDATA[If you are hosting your own WordPress site and you want to move because the current hosting company is slow, unstable, expensive, etc., you can transfer your WP site very easily.  It takes almost no time.  This is also a good way to transfer sites even if it isn&#8217;t a WP site, just skip the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are hosting your own WordPress site and you want to move because the current hosting company is slow, unstable, expensive, etc., you can transfer your WP site very easily.  It takes almost no time.  This is also a good way to transfer sites even if it isn&#8217;t a WP site, just skip the database steps.  Once you have done this a few times you will never understand why you used to download everything onto your computer and then upload it to the new server.</p>
<p><strong>Requirements to transfer using this method:</strong></p>
<ol>
<li>SSH access on both hosting companies (it will say on their site, or call them)</li>
<li>PHPMyAdmin on both servers.  You can use command-line MySQL, but if you know that your probably aren&#8217;t in need of this article.</li>
<li>Basic knowledge of Unix would help</li>
</ol>
<p><span style="color: #ff6600;"><strong>Step 1: Transfer Your Files</strong></span></p>
<p>This will copy your files from your old hosting to new hosting company.</p>
<ol>
<li>ssh -p 22 username@oldhosting.com</li>
<li>cd www</li>
<li>scp -r -P 22 * username@your-domain.com:/home/username/www</li>
<li>password: (type in your password)</li>
</ol>
<p>Explaination:</p>
<ol>
<li>SSH into your old hosting (you might not have to specify port number 22)</li>
<li>Change Directory into your web files directory.  Most companies give will make you put them in one of these folder:  www, public_html, or httpdocs</li>
<li>The tricky step here
<ul>
<li>scp &#8211; stands for Secure Copy, it copies files through encryption</li>
<li>-r &#8211; Recursive, it will copy everything in your &#8220;web&#8221; folder, and sub directories</li>
<li>-P 22 &#8211; this is not needed if your new hosting company runs SSH over port 22 (doesn&#8217;t hurt to keep it though).  if the company does not run it over 22, change it to whatever it maybe (maybe 7822 in some cases, but rare)</li>
<li>* &#8211; means everything, if you want to only copy one file, like wp-config.php you would change the * with wp-config.php</li>
<li>username@127.0.0.1 &#8211; this will be whatever your username and domain is (specifically your SSH username, might be the same as your control panel) and the IP address of your new server.  If you have already transferred your domain to the new server you will have to SSH into the old server via IP address</li>
<li>:/home/username/www &#8211; this tells scp where to write the files once it starts transferring.  &#8220;username&#8221; is whatever was assigned to you, and &#8220;www&#8221; could be &#8220;public_html&#8221;, &#8220;httpdocs&#8221; etc.</li>
</ul>
</li>
<li>it might ask &#8216;Are you sure you want to continue?&#8217;, type in yes)</li>
<li>password: (you should know this)</li>
</ol>
<p>Your transfer should be going after you type in that password.  The transfer of the files normally takes 60-120 seconds.</p>
<p><span style="color: #ff6600;"><strong>Step 2: Change Your URL (optional)</strong></span></p>
<p>If you are transferring from old host to new host with the <strong>*SAME*</strong> domain, you can skip this step.  If not, make sure you change your URL.</p>
<ol>
<li>Login to the admin on your old server</li>
<li>Go to Stettings &gt; General</li>
<li>Change these two settings to your new domain &#8220;WordPress address (URL)&#8221; and &#8220;Blog address (URL)&#8221;</li>
</ol>
<p>If you do not do these steps all of the links will be pointing to your old domain.  This is where WordPress is stupid, IMHO.  They should not store the URL in the database, it should all be in the wp-config.php file.  Maybe I&#8217;m missing the developers logic.</p>
<p><span style="color: #ff6600;"><strong>Step 3: Export Your Database</strong></span></p>
<p>Get into the control panel on your old hosting company.  Get into PHPMyAdmin.  I wish I could give you more details than that, but every control panel is different.</p>
<p>Once in PHPMyAdmin</p>
<ol>
<li>Select the correct database by click on it on the left</li>
<li>Click on Export (one of the main tabs)</li>
<li>Now make your screen look like mine:</li>
<li><a title="Full Size Export WordPress" href="http://www.ishinelight.com/wp-content/uploads/2009/02/export_wp.jpg" rel="shadowbox[post-20];player=img;"><img class="alignnone size-thumbnail wp-image-36" title="Exporting WordPress Screen Shot" src="http://www.ishinelight.com/wp-content/uploads/2009/02/export_wp-150x150.jpg" alt="Exporting WordPress Screen Shot" width="150" height="150" /></a></li>
<li>Hit Go</li>
<li>Save the file on your desktop</li>
</ol>
<p><span style="color: #ff6600;"><strong>Step 4: Importing Your Database</strong></span></p>
<p>This is very similar to the previous step, but backwards.  I&#8217;m going to be lazy and tell you this, without steps.  Login to the new server and import the file you just created with step 3.</p>
<p><span style="color: #ff6600;"><strong>Step 5: Change Your Config File</strong></span></p>
<p><strong></strong>SSH into the new server and make these changes to your new settings:</p>
<p>define(&#8217;DB_NAME&#8217;, &#8216;ishinelight&#8217;);</p>
<p>define(&#8217;DB_USER&#8217;, &#8216;ishinelight_wp&#8217;);</p>
<p>define(&#8217;DB_PASSWORD&#8217;, &#8216;SomethingSafe&#8217;);</p>
<p>define(&#8217;DB_HOST&#8217;, &#8216;localhost&#8217;);</p>
<p><span style="color: #ff6600;"><strong>Step 6: Done.</strong></span></p>
<p>Browse to your new blog and you are golden.</p>
&nbsp; ]]></content:encoded>
			<wfw:commentRss>http://www.ishinelight.com/2009/02/how-to-transfer-a-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Management</title>
		<link>http://www.ishinelight.com/2009/02/wordpress/</link>
		<comments>http://www.ishinelight.com/2009/02/wordpress/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 06:18:50 +0000</pubDate>
		<dc:creator>Aaron Reimann</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://dev4.aaronreimann.com/?p=11</guid>
		<description><![CDATA[So I&#8217;ve been working a lot on WordPress.  Ever since I worked on The Complete Laywer web site, I have wanted to do a lot more.  I used Wordpress when it is a little baby crawling on the floor, but now it is at the bar hitting on the ladies (I have *no idea* how [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working a lot on WordPress.  Ever since I worked on <a href="http://www.thecompletelawyer.com">The Complete Laywer</a> web site, I have wanted to do a lot more.  I used Wordpress when it is a little baby crawling on the floor, but now it is at the bar hitting on the ladies (I have *no idea* how that came analogy came up, please forgive me).</p>
<p>For most companies I am setting up <a href="http://www.cmsmadesimple.org">CMS Made Simple</a>, it is awesome for managing a basic site, but lacking with community-related plug-ins.  CMSms does not allow for users to sign up and have access to more features of a site.  That is where Wordpress comes in.</p>
<p>Adam Walker and I are going some WP sites.  I&#8217;ll be dropping some WP snippets as I develop.</p>
&nbsp; ]]></content:encoded>
			<wfw:commentRss>http://www.ishinelight.com/2009/02/wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
