<?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>D-Kidd.com &#187; Wordpress Tricks</title>
	<atom:link href="http://d-kidd.com/category/wordpress-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://d-kidd.com</link>
	<description>Don's little workshop</description>
	<lastBuildDate>Sun, 06 Nov 2011 02:30:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress: The uploaded file could not be moved to Error</title>
		<link>http://d-kidd.com/wordpress/wordpress-the-uploaded-file-could-not-be-moved-to-error/</link>
		<comments>http://d-kidd.com/wordpress/wordpress-the-uploaded-file-could-not-be-moved-to-error/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 02:30:11 +0000</pubDate>
		<dc:creator>DKidd</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Tricks]]></category>

		<guid isPermaLink="false">http://d-kidd.com/?p=195</guid>
		<description><![CDATA[When I last did a 5-Minute install of WordPress, everything worked great, except when I tried to upload of a new theme, I got the annoying and somewhat non-descriptive error.  After tirelessly searching the Internet I came across several articles, and a solution to my problem. Change your permissions - WordPress.org Taking what I learned in the [...]]]></description>
			<content:encoded><![CDATA[<p>When I last did a 5-Minute install of WordPress, everything worked great, except when I tried to upload of a new theme, I got the annoying and somewhat non-descriptive error.  After tirelessly searching the Internet I came across several articles, and a solution to my problem.<span id="more-195"></span></p>
<h4 style="padding-left: 30px;">Change your permissions - <a title="Changing file Permissions" href="http://codex.wordpress.org/Changing_File_Permissions" target="_blank">WordPress.org</a></h4>
<p style="padding-left: 30px;">Taking what I learned in the above article and several other, I boiled it down to a few commands, if you have shell access (if you don&#8217;t you really should).</p>
<p style="padding-left: 60px;">cd into where ever your wordpress is located.<br />
<code>chmod -R 644 *</code></p>
<ol>
<ul>
<ul>
<li>The wordpress article says that no file needs more then 644 and you could probably even do a 640, but I just stuck with 644.</li>
</ul>
</ul>
</ol>
<p style="padding-left: 60px;"><code>find . -type d -exec chmod 755 {} \;</code></p>
<ol>
<ul>
<ul>
<li>This changes the permissions on all the directories to be 755</li>
</ul>
</ul>
</ol>
<p style="padding-left: 60px;"><code>chmod 600 wp-config.php </code></p>
<ol>
<ul>
<ul>
<li>And this makes the wp-config.php file only useable by the webserver, no one else can read or write it</li>
</ul>
</ul>
</ol>
<h4 style="padding-left: 30px;">Make Sure you default folder is set correctly</h4>
<p style="padding-left: 60px;">Go to <code>Settings</code> &gt; <code>Miscellaneous</code> and check that the default folder for uploading is set to <code>/wp-content/uploads/</code>. There are times when the folder is not properly defined.</p>
<h4 style="padding-left: 30px;">Check htaccess</h4>
<p style="padding-left: 60px;">Something that most articles didn&#8217;t talk about was look in you htaccess file.  An article at <a title="The uploaded file could not be moved" href="http://www.bloggingtip.net/the-uploaded-file-could-not-be-moved-to-the-solution/" target="_blank">bloggingtip.net</a>, was talking about adding a few lines to your .htaccess file.  This got me thinking that I don&#8217;t remember seeing an .htaccess file out there in my wordpress directory.</p>
<p style="padding-left: 60px;">After verifying that I really did not have a .htaccess for this directory, I created a .htaccess and added the following lines to that file.<code><br />
# BEGIN WordPress<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
# END WordPress</code></p>
<p style="padding-left: 60px;">Once I added that file and added these few lines that should have been created as I installed wordpress, but for some reason, it wasn&#8217;t so if you run into this problem in one of your wordpress sites, make sure you have a .htaccess file in your wordpress directory to make sure that everything works as you might expect it to.</p>
<p style="padding-left: 60px;">
]]></content:encoded>
			<wfw:commentRss>http://d-kidd.com/wordpress/wordpress-the-uploaded-file-could-not-be-moved-to-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.9.1</title>
		<link>http://d-kidd.com/development/wordpress-2-9-1/</link>
		<comments>http://d-kidd.com/development/wordpress-2-9-1/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 13:48:30 +0000</pubDate>
		<dc:creator>DKidd</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Wordpress Tricks]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://d-kidd.com/?p=49</guid>
		<description><![CDATA[So I have just updated this site to version 2.9.1, and it is working quite well.  I have just noticed the coolest thing..  I think it was implemented in WordPress 2.9, but either way, if you put a url in your post is like a link for a video from Flickr or something. Just putting [...]]]></description>
			<content:encoded><![CDATA[<p>So I have just updated this site to version 2.9.1, and it is working quite well.  I have just noticed the coolest thing..  I think it was implemented in WordPress 2.9, but either way, if you put a url in your post is like a link for a video from Flickr or something. Just putting this url in your post, with nothing else special, will embed the video straight in the post.</p>
<p><a href=" http://www.flickr.com/photos/dkidd/4256016317/" target="_blank"> http://www.flickr.com/photos/dkidd/4256016317/</a></p>
<p><object type="application/x-shockwave-flash" width="500" height="367" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=3fa22cb25b&#038;photo_id=4256016317&#038;flickr_show_info_box=true"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=3fa22cb25b&#038;photo_id=4256016317&#038;flickr_show_info_box=true" height="367" width="500"></embed></object></p>
<p>Even though the URL is for the page that the image or in this case video is on, WordPress is smart enough to embed the video for us right into wordpress.  We could put the <strong><em>embed</em></strong> code around the URL and it will do the same thing, but with the  <strong><em>embed</em></strong> tag in wordpress we can make the video/picture a particular size.  so like this is an  <strong><em>embed width=200 </em></strong></p>
<p><object type="application/x-shockwave-flash" width="200" height="147" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=3fa22cb25b&#038;photo_id=4256016317&#038;flickr_show_info_box=true"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=3fa22cb25b&#038;photo_id=4256016317&#038;flickr_show_info_box=true" height="147" width="200"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://d-kidd.com/development/wordpress-2-9-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

