<?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>Mike Afford Media Blog &#187; installation</title>
	<atom:link href="http://www.mikeafford.com/blog/tag/installation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeafford.com/blog</link>
	<description>Mike Afford is a Graphic Designer for TV and Web based in Leitrim, Ireland.</description>
	<lastBuildDate>Thu, 02 Feb 2012 23:52:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A quick word about WordPress permalinks</title>
		<link>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 13:16:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=26</guid>
		<description><![CDATA[Here&#8217;s a thing. The default installation of WordPress I&#8217;ve just done is set up in such a way that the URL of each individual post is what they call &#8216;ugly&#8217; &#8211; it contains numbers and question marks, rather than containing the actual text from the title of your post. And apart from being &#8216;ugly&#8217;, these [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a thing. The default installation of WordPress I&#8217;ve just done is set up in such a way that the URL of each individual post is what they call &#8216;ugly&#8217; &#8211; it contains numbers and question marks, rather than containing the actual text from the title of your post. And apart from being &#8216;ugly&#8217;, these links are not particularly Search Engine friendly.<span id="more-26"></span></p>
<p>To fix this, I had to go to <strong>Settings</strong> and <strong>Permalinks</strong> to choose a new format for the post URL &#8211; there are a few ready-made formats to click and choose from &#8211; I decided to use the form</p>
<p><em> www.mikeafford.com/blog/$year/$month/$title_of_post</em></p>
<p>For this to work, I needed to add a <strong>.htaccess</strong> file to the main blog directory &#8211; rather strange that it wasn&#8217;t included in the installation. Anyway, with that in place, the new permalinks appeared immediately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/a-quick-word-about-wordpress-permalinks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Image upload failure in WordPress</title>
		<link>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 12:54:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[image upload]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=18</guid>
		<description><![CDATA[OK, you may remember seeing a little image in my last (first) post. Well, getting that to appear wasn&#8217;t quite as straightforward as I&#8217;d hoped. When I first tried to upload an image from my computer, I got an error message:
failed to write to disk

So obviously something strange was happening at my servers end &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>OK, you may remember seeing a little image in my last (first) post. Well, getting that to appear wasn&#8217;t quite as straightforward as I&#8217;d hoped. When I first tried to upload an image from my computer, I got an error message:</p>
<p><em><strong>failed to write to disk</strong></em><br />
<span id="more-18"></span><br />
So obviously something strange was happening at my servers end &#8211; I initially thought it might be read/write permissions, but after a brief search on the WordPress forums, and another quick email to my hosting support, it turned out that I needed to set up a couple of customised php settings on my site. This might not be the case with every hosting provider, but I needed to go to my site control panel and click PHP settings and set the <span style="font-family: Verdana,Arial,Helvetica,sans-serif;">upload_tmp_dir to be /tmp . And also in my case I to actually create the /tmp directory itself (I guess up until now I didn&#8217;t really see the need to have one&#8230;)</span></p>
<p>But I wasn&#8217;t quite there yet. When I tried again, I got a brand new error</p>
<p><em><strong>Unable to create directory<br />
&#8230;&#8230;&#8230;&#8230;./blog/wp-content/uploads/2008/10. Is the parent directory writable by the server?</strong></em></p>
<p>Now that smelt even more like file permissions than the last time &#8211; and sure enough that&#8217;s what it was.</p>
<p>Another quick scout around WordPress.org and I saw that they do say &#8220;A default WordPress installation comes with permissions settings for its files and folders (i.e. directories) that can be regarded as very secure.&#8221; I should say so. Particularly having a content folder into which you can&#8217;t actually place your content.</p>
<p>But they do give comprehensive instructions on how to change various permissions to get things working more smoothly. See <a href="http://codex.wordpress.org/Changing_File_Permissions" target="_blank">Changing File Permissions</a> for more information on this.</p>
<p>It&#8217;s also worth looking at <a href="http://codex.wordpress.org/htaccess_for_subdirectories" target="_blank">htaccess for subdirectories</a> which explains how to put back some of the security on folders that you&#8217;ve allowed more write access to &#8211; for example, restricting uploads of only image files (JPG, GIF, PNG) to that /tmp directory.</p>
<p>OK, with that all sorted, I&#8217;m fast approaching the time for customisation. Although the default template is sweet enough, I want to get my sticky paws on the HTML and CSS..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/image-upload-failure-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing WordPress on your own site</title>
		<link>http://www.mikeafford.com/blog/2008/10/hello-world/</link>
		<comments>http://www.mikeafford.com/blog/2008/10/hello-world/#comments</comments>
		<pubDate>Fri, 17 Oct 2008 09:37:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blogs]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=1</guid>
		<description><![CDATA[I thought it might be useful to document the process of setting up this blog on my site as I went along.
Step 1: I found this page on WordPress.org which details the procedure for installing WordPress on your own site (this assumes that you have your own domain, and FTP access to upload all of [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it might be useful to document the process of setting up this blog on my site as I went along.</p>
<p><strong>Step 1:</strong> I found <a title="Installing WordPress" href="http://codex.wordpress.org/Installing_WordPress" target="_blank">this page on WordPress.org</a> which details the procedure for installing WordPress on your own site (this assumes that you have your own domain, and FTP access to upload all of the WordPress files to your own site). Now, being a graphic designer, and itching to get on with the task of customising the page to make it look all arty and such, it&#8217;s fair to say that I only read the instructions briefly, so this might all end in disaster, but here goes&#8230;<span id="more-1"></span></p>
<p><strong>Step 2:</strong> I downloaded WordPress 2.6.2 to my local machine (I&#8217;m using one of my Macs &#8211; a Dual 2 GHz PowerPC G5 &#8211; OSX v10.4.10) and unzipped the file.</p>
<p><strong>Step 3:</strong> Using the control panel on my website supplied by my hosting company, I added a mySQL database &#8211; as this was the first database I&#8217;d added, all I had to do was select &#8216;default&#8217; and there it was. Surprisingly easy so far. From reading the WordPress documentation I wondered if I needed to have a database called &#8216;wordpress&#8217;, but it seemed not so &#8211; I checked this by emailing my hosting support who replied within minutes (hats off to Mark at <a title="Supanames Web Hosting" href="http://www.supanames.co.uk/" target="_blank">Supanames</a>). The name of the database doesn&#8217;t matter, provided you enter it correctly in the wordpress config file (see Step 4 below).</p>
<p><strong>Step 4:</strong> Now this bit I&#8217;m guessing wouldn&#8217;t be for the faint-hearted, but if you&#8217;re happy editing files that have lots of $&#8217;s and /&#8217;s and other gobbledegook in them then it&#8217;s quite straightforward. In the unzipped WordPress files you&#8217;ll find one called <strong>wp-config-sample.php</strong> &#8211; you need to edit this to include the name of your mySQL database, and your username and password. Also you need to set 3 secret keys &#8211; but instructions on what to do are included in the file itself. Once you&#8217;ve finished this, save the file as <strong>wp-config.php</strong> in the same folder where you found the original (wp-config-sample.php) file.</p>
<p><strong>Step 5:</strong> I created a directory on my site called &#8216;blog&#8217; in the top directory &#8211; so my blog should hopefully appear at <a href="http://www.mikeafford.com/blog/">www.mikeafford.com/blog</a> . Then I FTP-ed the entire contents of the wordpress folder on my local machine into the &#8216;blog&#8217; folder on the remote server. Another way of doing this would have been to rename the &#8216;wordpress&#8217; folder to &#8216;blog&#8217; and uploaded the folder itself to the top directory on your server (assuming you don&#8217;t already have one called &#8216;blog&#8217; there already. Naturally enough.)</p>
<div id="attachment_14" class="wp-caption alignright" style="width: 160px"><a href="http://www.mikeafford.com/blog/wp-content/uploads/2008/10/wp-mmm-grab0012.jpg"><img class="size-thumbnail wp-image-14" title="first_look" src="http://www.mikeafford.com/blog/wp-content/uploads/2008/10/wp-mmm-grab0012-150x150.jpg" alt="Success!" width="150" height="150" /></a><p class="wp-caption-text">Success!</p></div>
<p><strong>Step 6:</strong> In my browser I typed in the URL of my blog (mikeafford.com/blog) and there was the WordPress set-up page all ready for me to enter a title for the blog and my email address. With that completed, moments later the bog-standard blog appeared&#8230;</p>
<p>At this point my wife walked in and I proudly showed her my new blog. &#8220;That looks really good&#8221; she said.</p>
<p>I wonder if she&#8217;ll say the same after I&#8217;ve fiddled with the design&#8230;</p>
<p>Right now I&#8217;m having a few issues with uploading images, which may well be the subject of my next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2008/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

