<?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 Blog Host&#039;s Blog &#187; .htaccess</title>
	<atom:link href="http://wpbloghost.com/blog/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpbloghost.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 19 Jul 2010 18:02:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How To Upgrade WordPress Manually Video</title>
		<link>http://wpbloghost.com/blog/manually-upgrade-wordpress/</link>
		<comments>http://wpbloghost.com/blog/manually-upgrade-wordpress/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:57:55 +0000</pubDate>
		<dc:creator>John Hoff</dc:creator>
				<category><![CDATA[John's WordPress Video Articles]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[videos]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wpbloghost.com/blog/?p=2022</guid>
		<description><![CDATA[Lately I&#8217;ve had a few people mention to me that their auto upgrade feature for WordPress (located in the WordPress dashboard under Tools) doesn&#8217;t work. In my experience, auto upgrades fail because plugins sometimes cause a conflict with the upgrade process. If you&#8217;re having problems with the auto upgrade feature, make sure to deactivate all [...]


Related posts:<ol><li><a href='http://wpbloghost.com/blog/wordpress-management-moving-core-files/' rel='bookmark' title='Permanent Link: WordPress Management: Cleaning Up Your Root Folder'>WordPress Management: Cleaning Up Your Root Folder</a></li>
<li><a href='http://wpbloghost.com/blog/create-a-maintenace-page/' rel='bookmark' title='Permanent Link: How To Create A Maintenance Page Redirect When WordPress Is Down'>How To Create A Maintenance Page Redirect When WordPress Is Down</a></li>
<li><a href='http://wpbloghost.com/blog/install-wordpress-maually/' rel='bookmark' title='Permanent Link: How To Install WordPress Manually and Why Beginners Should Do It'>How To Install WordPress Manually and Why Beginners Should Do It</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve had a few people mention to me that their auto upgrade feature for WordPress (located in the WordPress dashboard under Tools) doesn&#8217;t work. In my experience, auto upgrades fail because plugins sometimes cause a conflict with the upgrade process.</p>
<p>If you&#8217;re having problems with the auto upgrade feature, make sure to deactivate all your plugins first.</p>
<p>If you&#8217;re still having issues, try switching your theme over to the default theme WordPress comes with. Doing these two things reverts WordPress back to its default state and will give your auto upgrade the best chance for compatibility.</p>
<p>If, however, after doing those two things your auto upgrade feature still won&#8217;t work, all is not lost. Here&#8217;s a video I did on how to manually upgrade WordPress. Because this process will take a few extra minutes longer than the auto upgrade feature, you may want to put your site in maintenance mode to let your customers know you&#8217;ll be right back. I show you how to do that in the video and the code needed is shown for your convenience below the video.</p>
<p><strong>If you ever have any issues installing or upgrading, keep in mind I can do this for you. It costs $50 and you also get a full backup of your site.</strong></p>
<p><center>																					<embed src="http://blip.tv/play/AYGVmAMC" type="application/x-shockwave-flash" width="625" height="470" allowscriptaccess="always" allowfullscreen="true"></embed> 						</center></p>
<p><strong>Update:</strong> Keith Davis commented below and mentioned he had an issue watching the video. If you run into any issues, I also have the tutorial on my YouTube channel. Unfortunately, since YouTube only allows 10 minute videos, I had to separate the tutorial into 4 separate videos. The size is a little smaller, but if you enlarge it to full screen it shows pretty well. Here they are:</p>
<ol>
<li><a target="_blank" href="http://www.youtube.com/watch?v=wrEqJy5mJwQ">YouTube version video 1</a></li>
<li><a target="_blank" href="http://www.youtube.com/watch?v=ErmzmpeS0H4">YouTube version video 2</a></li>
<li><a target="_blank" href="http://www.youtube.com/watch?v=_kCodsC9mRQ">YouTube version video 3</a></li>
<li><a target="_blank" href="http://www.youtube.com/watch?v=9iAyBvtetnM">YouTube version video 4</a></li>
</ol>
<h2>How To Create A Simple Maintenance Page</h2>
<p>You could always download a <a href="http://sw-guide.de/wordpress/plugins/maintenance-mode/" title="WordPress Maintenance Mode plugin">WordPress maintenance mode plugin</a>, but in this case it probably won&#8217;t work. When you follow the <a href="http://codex.wordpress.org/Upgrading_WordPress" title="Steps to upgrade WordPress">upgrade instructions on WordPress.org</a>, you&#8217;ll notice it says to <strong>deactivate all your plugins</strong>.</p>
<p>So, here&#8217;s how to create a custom maintenance page without a plugin.</p>
<p><strong>Step 1</strong></p>
<p>Create a simple html file and place it in your blog&#8217;s root directory. Name it something like, maintenance.html. Inside the maintenance.html file you can put anything you want. &#8220;Hi. I&#8217;m out to lunch for a few moments while the construction crew is busy at work . . .&#8221;</p>
<p>But why stop there? Your site is better than that. Customize the page with your site&#8217;s colors and images. Maybe add a video or your latest blog post. CSSgirl wrote some tips and shows some examples on the topic of <a href="http://www.cssgirl.com/articles/2008/06/16/create-a-memorable-maintenance-page/" title="Create A Memorable Maintenance Page">creating a memorable maintenance page</a>.</p>
<p><strong>Step 2</strong></p>
<p>Ok so now you have your maintenance.html page set up, the next step is to redirect everyone to it while you&#8217;re doing your upgrade.</p>
<p>Navigate to your blog&#8217;s root directory in your web hosting control panel and open your .htaccess file.</p>
<p><center><img src="http://wpbloghost.com/images/htaccess-edit.jpg" alt="htaccess-edit" title="htaccess-edit" width="579" height="266" class="alignnone size-full wp-image-2045" /></center></p>
<p>Once opened, you&#8217;re going to add this code at the top:</p>
<p><strong># Use this code to redirect visitors to maintenance.html file while upgrading<br />
Options +FollowSymlinks<br />
RewriteEngine on<br />
RewriteCond %{REMOTE_ADDR} !^<span style="background-color: rgb(255, 255, 0);">618\.124\.259\.25</span><br />
RewriteCond %{REQUEST_URI} !/maintenance.html$<br />
RewriteRule $ <span style="background-color: rgb(255, 255, 0);">http://your-site.com</span>/maintenance.html [R=302,L]</strong></p>
<p>The yellow parts above are the areas you need to change. Visit <a href="http://whatismyipaddress.com">What is my IP address?</a> to find your IP address and put those numbers in under the first yellow highlight. Next add the url path to your own maintenance page in the second yellow part.</p>
<p>And that should do it. Your site should now show a maintenance page to everyone except you (your IP address was whitelisted). To see what everyone else sees, add a # sign in front of the IP line:</p>
<p align="center"># RewriteCond %{REMOTE_ADDR} !^618\.124\.259\.25</p>
<p>The # comments lines out.</p>
<p>When you&#8217;re finished, leave the code in your .htaccess file for next time. To disable the code, just add a # in front of each line:</p>
<p><strong># Use this code to redirect visitors to maintenance.html file while upgrading<br />
# Options +FollowSymlinks<br />
# RewriteEngine on<br />
# RewriteCond %{REMOTE_ADDR} !^618\.124\.259\.25<br />
# RewriteCond %{REQUEST_URI} !/maintenance.html$<br />
# RewriteRule $ http://your-site.com/maintenance.html [R=302,L]</strong></p>
<p>Remember, if you need help with upgrades or WordPress security, visit the <a href="http://wpbloghost.com/pages/wordpress-services.html/" title="Contact John">blog services page</a> and use the contact form there to get in touch with me.</p>
<p><em>Like tutorials like these? Keep up with what we&#8217;re doing over here by <a href="http://feeds.feedburner.com/wpbloghost" title="Our blog's feed">subscribing to our feed</a>.</em></p>


<p>Related posts:<ol><li><a href='http://wpbloghost.com/blog/wordpress-management-moving-core-files/' rel='bookmark' title='Permanent Link: WordPress Management: Cleaning Up Your Root Folder'>WordPress Management: Cleaning Up Your Root Folder</a></li>
<li><a href='http://wpbloghost.com/blog/create-a-maintenace-page/' rel='bookmark' title='Permanent Link: How To Create A Maintenance Page Redirect When WordPress Is Down'>How To Create A Maintenance Page Redirect When WordPress Is Down</a></li>
<li><a href='http://wpbloghost.com/blog/install-wordpress-maually/' rel='bookmark' title='Permanent Link: How To Install WordPress Manually and Why Beginners Should Do It'>How To Install WordPress Manually and Why Beginners Should Do It</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wpbloghost.com/blog/manually-upgrade-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
