<?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>step by step move wordpress to root | GeekITDown Computer Services &amp; Technology Solutions</title>
	<atom:link href="https://geekitdown.com/tag/step-by-step-move-wordpress-to-root/feed/" rel="self" type="application/rss+xml" />
	<link>https://geekitdown.com</link>
	<description>Computer Services &#38; Technology Solutions</description>
	<lastBuildDate>Wed, 08 Aug 2012 20:56:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://geekitdown.com/wp-content/uploads/2020/08/geekitdown-logo-200x200-1-100x100.jpg</url>
	<title>step by step move wordpress to root | GeekITDown Computer Services &amp; Technology Solutions</title>
	<link>https://geekitdown.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Move A WordPress Blog To The Root Directory</title>
		<link>https://geekitdown.com/how-to-move-a-wordpress-blog-to-the-root-directory/</link>
					<comments>https://geekitdown.com/how-to-move-a-wordpress-blog-to-the-root-directory/#comments</comments>
		
		<dc:creator><![CDATA[chief_geek]]></dc:creator>
		<pubDate>Wed, 08 Aug 2012 20:56:05 +0000</pubDate>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[directions on how to move a wordpress blog]]></category>
		<category><![CDATA[guide to moving wordpress to root directory]]></category>
		<category><![CDATA[how to move a wordpress blog]]></category>
		<category><![CDATA[how to move a wordpress blog to root directory]]></category>
		<category><![CDATA[how to move a wordpress site to root directory]]></category>
		<category><![CDATA[instructions for moving a wordpress blog]]></category>
		<category><![CDATA[step by step move wordpress to root]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://geekitdown.com/?p=6289</guid>

					<description><![CDATA[<p>You&#8217;ve decided to make a change to your existing WordPress setup and move it to the root directory, but don&#8217;t want to damage your blog in the process. Many webmasters and bloggers have had to change their setup over time, it isn&#8217;t uncommon. Whether it be due to structuring issues or maturing of the website, WordPress makes the process mostly simple. The official codex explains the process well, though it could use a little more [&#8230;]</p>
<p>The post <a href="https://geekitdown.com/how-to-move-a-wordpress-blog-to-the-root-directory/">How To Move A WordPress Blog To The Root Directory</a> first appeared on <a href="https://geekitdown.com">GeekITDown Computer Services & Technology Solutions</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>You&#8217;ve decided to make a change to your existing WordPress setup and move it to the root directory, but don&#8217;t want to damage your blog in the process. Many webmasters and bloggers have had to change their setup over time, it isn&#8217;t uncommon. Whether it be due to structuring issues or maturing of the website, WordPress makes the process mostly simple.</p>
<p>The <a href="http://codex.wordpress.org/Moving_WordPress">official codex</a> explains the process well, though it could use a little more detail and step-by-step type instruction for those unfamiliar with the process. That&#8217;s what I&#8217;ll be addressing in this post. This move was accomplished on WordPress 3.4.1.</p>

<h3><span style="color: #ff6600;">Prerequisites</span></h3>
<p>[list type=bullet]</p>
<ul>
<li>First and foremost, review the <a href="http://codex.wordpress.org/Moving_WordPress">Moving WordPress codex</a>. It will familiarize you with the steps and options involved with moving your WordPress site.</li>
<li>Ensure you have FTP access and working login credentials. Adjusting the location of files is more standardized in terms of explanation when FTP connections are used.[notice type=&#8221;blue&#8221;] <strong>Note</strong>: If you are familiar with cPanel&#8217;s File Manager, then you may want to use that since it is generally quite fast. [/notice]</li>
<li>Backup your WordPress site. Include the database as well as .xml exports.</li>
<li>Familiarize yourself with <a title="How To Use Velvet Blues Update URLs [WordPress]" href="https://geekitdown.com/how-to-use-velvet-blues-update-urls-wordpress/">How To Use Velvet Blues Update URLs plugin</a>.</li>
</ul>

<h3><span style="color: #ff6600;">Before You Begin</span></h3>
<p>[list type=bullet]</p>
<ul>
<li>Examine the root (/) directory of your site and look for an .htaccess file.<br />
[notice type=&#8221;blue&#8221;]<strong>Note</strong>: It will be hidden by default, so you may need to instruct your FTP client to display hidden files. If one exists (and it should, even if it&#8217;s empty), download the file to a unique directory on your computer.[/notice]</li>
<li>Search through the remaining files in your root directory for any with the same name as those in your current WordPress directory (Example: /blog, /wordpress, etc.). If any exist, download them to their own unique directory on your computer. Doing so makes them easily accessible later on if you need to make changes.</li>
<li>If you wish to preserve the files in your root directory for archiving purposes, now is the time to download them all.<br />
[notice type=&#8221;yellow&#8221;]<strong>Note</strong>: Once you begin to move your WordPress files, those in the root directory will be overwritten if they have the same name (<em>Example</em>: index.php). Files with unique names will remain in the directory.[/notice]</li>
<li><strong>Optional</strong>: Download all files and folders from your existing WordPress directory to a unique folder on your computer. I recommend this for anyone archiving their old setup. I also find it more straightforward for FTP file movement.</li>
<li>From your WordPress dashboard, navigate to <strong>Settings → Permalinks</strong> and make note of your existing permalink structure.</li>
</ul>

<h2>How To Move WordPress</h2>
<ul>
<li>Login to your WordPress dashboard as an administrator.</li>
<li>Login to FTP, cPanel or whatever you&#8217;re using to move your files.</li>
<li><span style="line-height: 1.5em;">From your WordPress dashboard, navigate to </span><strong style="line-height: 1.5em;">Settings → General</strong><span style="line-height: 1.5em;">.</span></li>
<li><span style="line-height: 1.5em;">Change both WordPress address (URL) and Site address (URL) to the new location for your WordPress site. </span><em style="line-height: 1.5em;">Example</em><span style="line-height: 1.5em;">: http://domain.com would be the new URL for moving your wordpress site to the root directory.</span><span style="line-height: 1.5em;">[notice type=&#8221;blue&#8221;]</span><strong style="line-height: 1.5em;">Note</strong><span style="line-height: 1.5em;">: This step must be done before moving any files to ensure users can log back into their WordPress dashboard.[/notice]</span></li>
<li>Click save changes.</li>
<li><span style="line-height: 1.5em;">From your FTP client, access your WordPress files and folders. </span><em style="line-height: 1.5em;">Example</em><span style="line-height: 1.5em;">: Moving from /blog to the root directory you will access all files and folders inside the /blog folder, but not the blog folder itself.</span></li>
<li>Move all files and folders from inside the /blog (or wherever your WordPress files are) to the root directory.</li>
<li><span style="line-height: 1.5em;">When movement of all files is complete, check the old folder location (/blog or similar) for any remaining files. It should be empty. If not, remove the leftovers (download them to your computer if you didn&#8217;t already download the old WordPress directory for archiving purposes).[notice type=&#8221;blue&#8221;]</span><strong style="line-height: 1.5em;">Note</strong><span style="line-height: 1.5em;">: Download of any extra files is simply precautionary in case they were missed in the move and you need them later on.[/notice]</span></li>
<li><span style="line-height: 1.5em;">Login to your WordPress dashboard at http://yourdomain.com/wp-login.php[notice type=&#8221;blue&#8221;]</span><strong style="line-height: 1.5em;">Note</strong><span style="line-height: 1.5em;">: The wp-login.php file has moved to your root directory.[/notice]</span></li>
<li><span style="line-height: 1.5em;">On the WordPress Dashboard, navigate to </span><strong style="line-height: 1.5em;">Settings → Permalinks</strong><span style="line-height: 1.5em;">.</span></li>
<li>Update your permalinks to your preferred structure (as previously noted).</li>
<li>Click Save Changes.</li>
<li><span style="line-height: 1.5em;">Update media links and folders. There is an easy way to accomplish this by using the </span><a style="line-height: 1.5em;" href="http://wordpress.org/extend/plugins/velvet-blues-update-urls/">Velvet Blues Update URLs</a><span style="line-height: 1.5em;"> plugin. Follow this </span><a style="line-height: 1.5em;" title="How To Use Velvet Blues Update URLs [WordPress]" href="https://geekitdown.com/how-to-use-velvet-blues-update-urls-wordpress/">guide</a><span style="line-height: 1.5em;">.</span></li>
<li>Update any menus you&#8217;re using on your WordPress site to reflect the directory changes.</li>
<li>At this point you can view and test your WordPress site. If everything was done properly, then you should see your old site just as it was now on the main domain.</li>
</ul>

<h3><span style="color: #ff6600;">Post Move Instructions</span></h3>
<p>If everything went perfect, then you don&#8217;t have much to do. However, it&#8217;s a good idea to check a couple things to make sure.</p>

<h4>Check File Permissions</h4>
<p>Before the move, most should have been 0644. If any are shown as 0000, then make sure you adjust them.</p>

<h4>Combine .htaccess files</h4>
<p>The WordPress .htaccess file was moved to the root directory and contains special instructions for plugins, permalinks and other WordPress specific arguments. You must combine that file with the other (old) .htaccess file which you downloaded and saved earlier from the root directory. Open them both up in a text editor (Notepad, gedit, etc.) and copy the contents of the old .htaccess file into the new one.</p>
<p>[list type=bullet]</p>
<ul>
<li>Copy the contents of the OLD .htaccess file into the new .htaccess file beneath everything else.</li>
<li>Add the following line to the .htaccess file, replacing yourdomain.com with your new WordPress domain address and replacing /blog/ with your old WordPress location:[notice type=&#8221;blue&#8221;] redirect 301 /blog/ http://www.yourdomain.com /[/notice]</li>
<li><span style="line-height: 1.5em;">Save the file and upload it to the root directory. Confirm overwrite of the file.</span><span style="line-height: 1.5em;">[notice type=&#8221;blue&#8221;]</span><strong style="line-height: 1.5em;">Note</strong><span style="line-height: 1.5em;">: If you&#8217;re comfortable modifying the .htaccess file by hand, then now would be a good time to tidy it up with annotations and remove any outdated or duplicate information.[/notice]</span></li>
<li><span style="line-height: 1.5em;">Check redirects. The easiest way to check this is to enter the old URL of your WordPress site into the address bar. If the 301 redirect information was entered correctly it should send you to your WordPress site at the new URL.</span><span style="line-height: 1.5em;"></span></li>
</ul>

<h4>Check Plugins</h4>
<p>Some plugins may rely on URL structure and will need to be updated. As an example, automated backup plugins may require you to update your file retrieval directory.</p>

<h4>Adjust Webmaster Tools</h4>
<p>Google will automatically crawl your site in its new form, but to speed the process along, you can resubmit your new sitemap. The same holds true for Bing and other webmaster tools services.</p>

<h3><span style="color: #ff6600;"><strong>Troubleshooting</strong></span></h3>
<p>Even though everything is supposed to go off without a hitch, sometimes there are problems. Here are some quick troubleshooting tips if you run into trouble.</p>
<p>[list type=bullet]</p>
<ul>
<li>If you&#8217;re moving a site locally, be sure to reboot the server if changes don&#8217;t take effect.</li>
<li>If menu links return 404 or other error, navigate to <strong>Appearance → Menus</strong> and check all links begin with http://yourdomain.com/ or create custom links to manually enter the domain location.</li>
<li>If links and images aren&#8217;t directing properly,run Velvet Blues Update URLs again. Double-check that the proper file structure is chosen.</li>
<li>If for some reason Velvet Blues Update URLs doesn&#8217;t work or is unavailable at the time of your move, review our <a title="How To Use Velvet Blues Update URLs [WordPress]" href="https://geekitdown.com/how-to-use-velvet-blues-update-urls-wordpress/">Troubleshooting Tips</a> or try <a href="http://wordpress.org/extend/plugins/search-and-replace/">Search and Replace</a> plugin.</li>
</ul>
<p>If you enjoyed or found this article useful, please show us some support by <a href="http://www.facebook.com/GeekITDown" target="_blank" rel="noopener noreferrer">liking us on Facebook</a> or by sharing us on your favorite social website. Thanks!</p>
<div style="”display: block; text-align: center;"><script>// <![CDATA[
google_ad_client = "ca-pub-8720115653921139"; /* In-post Banner */ google_ad_slot = "1845608325"; google_ad_width = 468; google_ad_height = 60;
// ]]&gt;</script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[


// ]]&gt;</script></div><p>The post <a href="https://geekitdown.com/how-to-move-a-wordpress-blog-to-the-root-directory/">How To Move A WordPress Blog To The Root Directory</a> first appeared on <a href="https://geekitdown.com">GeekITDown Computer Services & Technology Solutions</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://geekitdown.com/how-to-move-a-wordpress-blog-to-the-root-directory/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
