<?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>More Money URL &#187; changing host</title>
	<atom:link href="http://moremoneyurl.com/tag/changing-host/feed/" rel="self" type="application/rss+xml" />
	<link>http://moremoneyurl.com</link>
	<description>Make More Money On the Web</description>
	<lastBuildDate>Mon, 26 Apr 2010 14:12:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moving your blog to a new host</title>
		<link>http://moremoneyurl.com/moving-your-blog-to-a-new-host/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://moremoneyurl.com/moving-your-blog-to-a-new-host/#comments</comments>
		<pubDate>Sun, 03 May 2009 21:09:27 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[Web Business]]></category>
		<category><![CDATA[Website management]]></category>
		<category><![CDATA[changing host]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://moremoneyurl.com/moving-your-blog-to-a-new-host/uncategorized/252</guid>
		<description><![CDATA[It can be a daunting task to move a Wordpress website from one host to another. I have set forth the steps I have followed and If you are careful and follow these steps, I guarantee you will not have fun. I cannot guarantee success but it worked for me.

Create a new wordpress install on [...]]]></description>
			<content:encoded><![CDATA[<p>It can be a daunting task to move a Wordpress <a href="http://moremoneyurl.com/tag/website/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with website">website</a> from one host to another. I have set forth the steps I have followed and If you are careful and follow these steps, I guarantee you will not have fun. I cannot guarantee success but it worked for me.
<ol>
<li>Create a new wordpress install on the new host.</li>
<li>Make sure you have all the plugins, and themes at the new host. I have 2 computers at my desk and ftp to the old host from one, and the other from computer #2 to make it easy to compare the directories.</li>
<li>In my case, I use php files to cloak affiliate links, so if you have anything like that, or if you have any pictures or videos stored on your server make sure you have all that moved.</li>
<li>go to phpMyAdmin on the old site select the database of the wp installation you are moving. If you are not sure which database it is, or just to make sure, pick the database you think it is, select the table <b><i>wp_options</i></b> in the left window, then select <i><b>Browse</b></i> in the right(main) window.&nbsp; The top 2 rows should be <b>siteurl</b> and <b>blogname</b>. Confirm that you have the right one.</li>
<li>Click on the <b>database name</b> link near the top of the left window.</li>
<li>Click on <b>Export</b> near the top of the right window.</li>
<li>Near the top of the window it should now say &#8220;View dump (schema) of database&#8221;.</li>
<li>Going down the left side, click on <b>Select All</b>, make sure <b>SQL</b> is selected, Add a checkmark to <b>Save as file</b>,&nbsp;&nbsp;</li>
<li>Moving toward the right you will see &#8220;<b>Export Type</b>&#8220;, Select <b>Insert</b>&#8230;. <i>ready, set,</i> <b>Click GO </b></li>
<li>Save the file to your desktop, it should have a name like &#8220;somename.sql&#8221;.</li>
<li>go to phpMyAdmin on the new site select the database that was set up in #1 above and repeat steps 2-8 except do not Click on save as file.</li>
<li>it will print the database to the screen, near the top will be a line that says </li>
<li><b>&#8211; Database:&nbsp; `somename_morename` &nbsp;&nbsp;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </li>
<li>Highlight (select) that line and copy ( &lt;ctrl&gt;+c for windoze users)</li>
<li>Open the file you just saved (from the old site) in a text editor and find a similar line. Make sure you use text editor, not something like word.&nbsp; </li>
<li>Highlight (select) that line and paste ( &lt;ctrl&gt;+v for windoze users) </li>
<li>there are likely some references to absolute paths in the database, things will be broken if these are not fixed.</li>
<li>search in the file for the string <i><b>public_html</b></i></li>
<li>you should find something like the next line:</li>
<li>&#8220;/home/<i>mywebhostloginname</i>/public_html/<i>sitename</i>.com/wp-content </li>
<li>with important stuff preceeding and subsequent to that. What is likely different on the new site is the stuff between the quote <b>&#8220;/home</b> <i>and</i> <b>/wp-</b> &nbsp; you may be able to tell what the differences are by looking at the address bar in your ftp program. If not you could get the information using a plugin called WP-ServerInfo. Do a search and replace to make the corrections. The relocation I did today had 4 occurences.</li>
<li>Save the file.</li>
<li>Back to phpMyAdmin on the new site&nbsp;</li>
<li>&nbsp;&nbsp; Make sure you have the right database selected</li>
<li>In the right window select structure at the top</li>
<li>&nbsp;&nbsp; Make sure you have the right database selected</li>
<li>Click on Check all near the bottom</li>
<li>&nbsp;&nbsp; Make sure you have the right database selected</li>
<li>There&#8217;s a&nbsp; selection box that starts out saying <b>&#8220;With selected&#8221;</b> make the selection that says <b>&#8220;drop&#8221;</b>:</li>
<li>&nbsp;&nbsp; Make sure you have the right database selected</li>
<li>When it says do you really want to <b>yes&nbsp; | no</b> click yes </li>
<li>At the top of the right window select <b>Import</b></li>
<li>Down from that it will give you the choice to browse for the file you just saved find the file and&#8230;<i>  ready, set,</i> <b>Click GO</b></li>
<li>Now we are at the point where (when I once did repairs on radios we thought we might be finished so we would plug the radio in) it&#8217;s time for the smoke test.</li>
</ol>
<p>If you did like I did, moving to HostGator from another company, HostGator is set up to recognize a subdomain that will allow you to test the installation at domain-Im-Moving.my-main-domain.com. while your registrar is still pointing to your old domain. You could switch it before you test it, but I would rather test it first. </p>
<p>I have a domain that I use for testing that I can use for an example at <a target="_blank" href="http://iquitsmokig.net/" onclick="pageTracker._trackPageview('/outgoing/iquitsmokig.net/?referer=');">http://iquitsmokig.net</a> Well if the registrar was still pointing to an old host, I can access it by accessing it as a subdomain of what hostGator has set up as the primary domain for my account. which is tunded.com (don&#8217;t ask <img src='http://moremoneyurl.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  So if I go to <a href="http://iquitsmokig.tunded.com/" onclick="pageTracker._trackPageview('/outgoing/iquitsmokig.tunded.com/?referer=');">http://iquitsmokig.tunded.com</a> I can test to see if it works. </p>
]]></content:encoded>
			<wfw:commentRss>http://moremoneyurl.com/moving-your-blog-to-a-new-host/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
