<?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>Christopher Shennan&#039;s Blog &#187; WordPress</title>
	<atom:link href="http://www.chrisshennan.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisshennan.com</link>
	<description>A day in the life of...</description>
	<lastBuildDate>Thu, 15 Sep 2011 15:13:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>wpTwit and lineTwit now available!</title>
		<link>http://www.chrisshennan.com/2010/10/26/wptwit-and-linetwit-now-available/</link>
		<comments>http://www.chrisshennan.com/2010/10/26/wptwit-and-linetwit-now-available/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 19:19:29 +0000</pubDate>
		<dc:creator>Christopher Shennan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[line digital]]></category>
		<category><![CDATA[lineTwit]]></category>
		<category><![CDATA[myTwit]]></category>
		<category><![CDATA[php twitter reader]]></category>
		<category><![CDATA[Ralph Slooten]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wpTwit]]></category>

		<guid isPermaLink="false">http://www.chrisshennan.com/?p=442</guid>
		<description><![CDATA[I have been working on these 2 projects on and off for a couple of weeks and although it has taken me much longer to package up and write the documentation for these 2 projects, I have finally managed to get them finished to a reasonable state and both projects are available for download. lineTwit [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on these 2 projects on and off for a couple of weeks and although it has taken me much longer to package up and write the documentation for these 2 projects, I have finally managed to get them finished to a reasonable state and both projects are available for download.</p>
<p><a href="/my-projects/linetwit-a-php-twitter-reader-based-on-mytwit/">lineTwit </a>- A PHP Twitter Reader &#8211; Original developed at my work (<a href="http://www.line.uk.com" target="_blank">Line Digital</a>) and is based on <a href="http://www.axllent.org/projects/mytwit" target="_blank">myTwit </a>by <a href="http://www.axllent.org/about_me" target="_blank">Ralph Slooten</a></p>
<p><a href="/my-projects/wptwit-a-php-twitter-reader-for-wordpress/">wpTwit </a>-  A WordPress Plugin build using <a href="/my-projects/linetwit-a-php-twitter-reader-based-on-mytwit/">lineTwit</a> to show how it can be incorporated into proper projects.  This site is live example of this plugin in action as I am using wpTwit for the twitter feed in the sidebar.</p>
<p>Many thanks to both <a href="http://www.line.uk.com" target="_blank">Line Digital</a> and <a href="http://www.axllent.org/about_me" target="_blank">Ralph Slooten</a> for allowing me to make these available for everyone to use.</p>
<p>Enjoy!</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.chrisshennan.com/2010/10/26/wptwit-and-linetwit-now-available/' addthis:title='wpTwit and lineTwit now available! ' ><a href="//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.chrisshennan.com/2010/10/26/wptwit-and-linetwit-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress wp_redirect() shows a blank page</title>
		<link>http://www.chrisshennan.com/2010/02/27/wordpress-wp_redirect-shows-a-blank-page/</link>
		<comments>http://www.chrisshennan.com/2010/02/27/wordpress-wp_redirect-shows-a-blank-page/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 21:04:31 +0000</pubDate>
		<dc:creator>Christopher Shennan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[output_buffering]]></category>
		<category><![CDATA[php_flag]]></category>
		<category><![CDATA[redirection]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[wp_redirect]]></category>

		<guid isPermaLink="false">http://www.chrisshennan.com/?p=278</guid>
		<description><![CDATA[Over the last few weeks I have been working on my first wordpress plugin and I am quickly getting to grips with how it all pieces together but I ran into a problem with a rather basic piece of functionality that pretty much rendered the plugin useless until I figured out the issue. The section [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last few weeks I have been working on my first wordpress plugin and I am quickly getting to grips with how it all pieces together but I ran into a problem with a rather basic piece of functionality that pretty much rendered the plugin useless until I figured out the issue.</p>
<p>The section I was working on was a form submission (within the wordpress administation) which saved the form values into the database and then redirected the user upon success to another page (using wp_redirect) but this resulted in a blank content pane.</p>
<p>This seems very strange to me as it showed some of the page contents i.e. the header and left navigation but the content pane was completely blank.<br />
<span id="more-278"></span></p>
<p>I searched around for a few hours trying various suggestions to similar problems, downloading other wordpress plugins and examining how they used the wp_redirect function to see if the authors of these other wordpress plugins had done anything different, only to find that there was no difference.</p>
<p>I eventually managed to figure out the issue after I read a post regarding a problem another user was having where they were getting a completely blank screen and another member suggested the problem could be due to whitespace which was sent to the browser before the redirect was called resulting in a &#8220;headers already sent&#8221; problem.</p>
<p>This got me thinking that I did not have output buffering enabled which was strange as I usually have output buffering enabled to resolve this issue, however, in this case I did not have output buffering turned on and this turned out to be exactly the problem.  I added the following line to my .htaccess file and the redirection now works perfectly.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">php_flag output_buffering on</pre></div></div>

<p>I was glad to get this one resolved as I had to spend far too much time on something that I have resolved time and time again.  Certainly one I&#8217;ll be aware of should there be a next time!</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.chrisshennan.com/2010/02/27/wordpress-wp_redirect-shows-a-blank-page/' addthis:title='WordPress wp_redirect() shows a blank page ' ><a href="//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.chrisshennan.com/2010/02/27/wordpress-wp_redirect-shows-a-blank-page/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Redirect your blog.wordpress.org to your own domain name</title>
		<link>http://www.chrisshennan.com/2009/03/21/redirect-your-blogwordpressorg-to-your-own-domain-name/</link>
		<comments>http://www.chrisshennan.com/2009/03/21/redirect-your-blogwordpressorg-to-your-own-domain-name/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 14:16:15 +0000</pubDate>
		<dc:creator>Christopher Shennan</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.chrisshennan.com/?p=11</guid>
		<description><![CDATA[Having  just set up WordPress on here this morning one additional thing I wanted to do which was to put a redirect in place to redirect my sub domain on wordpress.org (which is http://chrisshennan.wordpress.com) to point to my own domain name. My main reason for doing this was that when I comment on some of [...]]]></description>
			<content:encoded><![CDATA[<p>Having  just set up WordPress on here this morning one additional thing I wanted to do which was to put a redirect in place to redirect my sub domain on wordpress.org (which is <a href="http://chrisshennan.wordpress.com">http://chrisshennan.wordpress.com</a>) to point to my own domain name.</p>
<p>My main reason for doing this was that when I comment on some of my friends blogs (mainly those on blogspot) I have posted the comment using my WordPress profile which only allows me to enter my wordpress username which then links to username.wordpress.com.  As a result I would have to be adding my new blogs entries to 2 blogs which would be a waste of time and bad in terms or SEO (duplicated content resulting in a lower search engine listings).</p>
<p><span id="more-11"></span></p>
<p>Fortunately, I&#8217;m not the only person who was wanting to do this and I stumbled upon a PDF written by <a title="Redirect a WordPress Blog" href="http://blog-well.com/2008/06/27/moving-from-wordpresscom-to-wordpress/" target="_blank">BlogWell</a> which tells you how to do this in simple and easy to understand terms and also features illustrations which show you exactly how the process works.</p>
<p>The general idea is that you need to pay WordPress $10 a year for this and you also need to temporarily change your domain name servers to the ones for WordPress.  This may not be too good if you are trying to put the redirect in for a domain which is already up and running but is perfect for setting up with a brand new domain.  Due to processes involve in changing domain name servers the whole process could take several days to complete but I managed to get the whole thing done in 10 minutes although I&#8217;ll need to keep an eye on things overs the next few days as these changes aren&#8217;t normally reflected as quickly.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.chrisshennan.com/2009/03/21/redirect-your-blogwordpressorg-to-your-own-domain-name/' addthis:title='Redirect your blog.wordpress.org to your own domain name ' ><a href="//addthis.com/bookmark.php?v=250&amp;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">|</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.chrisshennan.com/2009/03/21/redirect-your-blogwordpressorg-to-your-own-domain-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

