<?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>WP Engineer &#187; Domain</title>
	<atom:link href="http://wpengineer.com/tag/domain/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpengineer.com</link>
	<description>WordPress News, Hacks, Tips, Tutorials, Plugins and Themes</description>
	<lastBuildDate>Mon, 21 May 2012 22:48:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moving Your WordPress Blog To A New Domain</title>
		<link>http://wpengineer.com/417/moving-your-wordpress-blog-to-a-new-domain/</link>
		<comments>http://wpengineer.com/417/moving-your-wordpress-blog-to-a-new-domain/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 14:43:51 +0000</pubDate>
		<dc:creator>Frank</dc:creator>
				<category><![CDATA[WordPress Tutorials]]></category>
		<category><![CDATA[Domain]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Hacks]]></category>

		<guid isPermaLink="false">http://wpengineer.com/?p=417</guid>
		<description><![CDATA[Many blog owners are scared and hesitated to move their blog to another domain because they fear to lose their visitors, downtime and other complications. I will show you now how to get rid off this fear and how to avoid problems while you moving. First of all, make a backup of all your data [...]]]></description>
			<content:encoded><![CDATA[<p>Many blog owners are scared and hesitated to move their blog to another domain because they fear to lose their visitors, downtime and other complications. I will show you now how to get rid off this fear and how to avoid problems while you moving.<br />
<span id="more-417"></span></p>
<p>First of all, make a <strong>backup of all your data in your database</strong> and your customized themes and other files.</p>
<ol>
<li>On your new domain, create an <code>index.php</code>, with the function header() , to let the search engine know, that something is coming soon, visit us again.
<pre lang="php">
&lt;?
header(&quot;HTTP/1.0 503 Service Unavailable&quot;);
header(&quot;Retry-After: 3600&quot;);
?&gt;
</pre>
<p>Alternatively you can use the Plugin <a href="http://wordpress.org/extend/plugins/wartungsmodus/">Wartungsmodus</a> or <a href="http://wordpress.org/extend/plugins/maintenance-mode/">Maintenance Mode</a>.<br />
From now on you can work, without to be worried about search engines, on your website.
</li>
<li>After that, you import your data into the new database and upload all files.</li>
<li>Adjust the <code>wp-config.php</code> accordingly. Open the file in your editor and add following data:
<pre lang="php">
define(&#039;WP_SITEURL&#039;, &#039;http://www.example.com&#039;);
define(&#039;WP_HOME&#039;, &#039;http://www.example.com/blog&#039;);
</pre>
<h4>Tip:</h4>
<p>I suggest to this in every other blog too. You save a request to the database and it improves the performance of your installation. Please check the correct definition, even a wrong / can deny access to your blog for visitors.<br />
After you add these definitions, don't forget to check off both fields in your settings area. See screenshot:<br />
<img src="http://wpengineer.com/wp-content/uploads/wp-settings.png" alt="" title="wp-settings" width="450" height="191" class="aligncenter size-full wp-image-418" />
</div>
</li>
<li>Now the installation of WordPress starts with the same database files. The new address get pulled out of the both constants.<br />
<em>Note:</em> if there is a Plugin or modification to cache active, please deactivate it.</li>
<li>After the new blog is running, install the Plugin <a href="http://wordpress.org/extend/plugins/search-and-replace/">Search &#038; Replace</a>, which helps you to find in old posts the old URL and replaces it with the new one.</li>
<li>Now check all preferences in your blog, do it accurately.</li>
<li>Everything OK? Then delete the <code>index.php</code> which you created in the beginning. Searchengines are having access now.</li>
<li>Add to your old blog an <code>.htaccess</code> file and put in:
<pre lang="php">
Redirect 301 /blog/ http://www.example.com/
</pre>
</li>
<li>Now you can delete all files and the database on your old blog.</li>
<li>If you have an account on Feedburner, you have to change the URL to your new blog, so your current reader will still get your feeds. But don't change your original feed!</li>
</ol>
<h4>Bonus Tip:</h4>
<p>Acquire just your domains at another cheap but reliable provider, where you can change the DNS settings easily whenever you change to a new host. So you won't have any troubles, if your old provider don't let your domains transfer to your new host. You just have to change the DNS settings and don't have to hassle with your <!--<a href="http://www.webhostingsearch.com/">host provider</a>--> host provider. </p>
<p>That's about it, good luck with your move! And if you have further tips, let us know!<br />
<hr /><a href="http://wpplugins.com/plugin/281/snippets" title="More informations about this plugin for WordPress"><img src="http://wpengineer.com/wp-content/themes/wpe-3/images/snippets-125-125.png" height="90" alt="WordPress Snippet Plugin" /></a> <a href="http://xtreme-theme.com"><img src="http://wpengineer.com/wp-content/uploads/feed-banner-2.jpg" alt="Xtreme One WordPress Framework"/></a><br />
&copy; <a href="http://wpengineer.com/">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://wpengineer.com/417/moving-your-wordpress-blog-to-a-new-domain/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

