<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Eclectic Thoughts</title>
	
	<link>http://www.eclecticthoughts.com</link>
	<description>A World of Ideas</description>
	<lastBuildDate>Sat, 07 May 2011 20:01:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EclecticThoughts-AWorldOfIdeas" /><feedburner:info uri="eclecticthoughts-aworldofideas" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>EclecticThoughts-AWorldOfIdeas</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/EclecticThoughts-AWorldOfIdeas" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FEclecticThoughts-AWorldOfIdeas" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>Amazing Technology</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/Aujm0yRqZGg/</link>
		<comments>http://www.eclecticthoughts.com/2011/05/amazing-technology/#comments</comments>
		<pubDate>Sat, 07 May 2011 18:30:38 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/2011/05/amazing-technology/</guid>
		<description />
			<content:encoded><![CDATA[<p>Wow, now that I can totally blog from my phone, maybe I&#8217;ll do it more often.  Or not.  Technology never ceases to amaze me.</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/Aujm0yRqZGg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2011/05/amazing-technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2011/05/amazing-technology/</feedburner:origLink></item>
		<item>
		<title>SoulPancake &amp; Projection on Buildings</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/eiiBXaHrmWY/</link>
		<comments>http://www.eclecticthoughts.com/2010/01/soul-pancake-projection-on-buildings/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 14:00:35 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[thinking]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/?p=149</guid>
		<description><![CDATA[I&#8217;ve recently discovered the joys of SoulPancake, a blog of questions about an eclectic array of topics.  Their motto is: Chew On Life&#8217;s Big Questions.  Every question, in its own way, allows you to peak into your soul and see what you&#8217;re made of, such as: What would you learn to do if you got rid of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently discovered the joys of <a title="SoulPancake" href="http://www.soulpancake.com/" target="_blank">SoulPancake</a>, a blog of questions about an eclectic array of topics.  Their motto is: Chew On Life&#8217;s Big Questions.  Every question, in its own way, allows you to peak into your soul and see what you&#8217;re made of, such as:</p>
<ul>
<li><a href="http://www.soulpancake.com/view_post/1636219/what-would-you-learn-to-do-if-you-got-rid-of-your-tv.html" target="_blank">What would you learn to do if you got rid of your tv?</a></li>
<li><a href="http://www.soulpancake.com/view_post/1548013/how-do-you-define-success-answer-hopefully-better-than-sly.html" target="_blank">How do you define success?</a></li>
<li><a href="http://www.soulpancake.com/view_post/1622904/is-knowledge-holding-you-back.html" target="_blank">Is knowledge holding you back?</a> (&#8220;In the beginner’s mind there are many possibilities, but in the expert’s mind there are few.&#8221; —Shunryu Suzuki)</li>
</ul>
<p>With the question &#8220;<a href="http://www.soulpancake.com/view_post/1547167/whats-the-single-coolest-thing-youve-experienced-this-year.html" target="_blank">What&#8217;s the coolest thing you&#8217;ve experience this year?</a>&#8221; SoulPancake had this video embedded.  What a cool idea!  I hope you enjoy it &#8211; and I hope it ignites a creative spark inside you.  We live in such a wonderful time and anything really is possible;  we are limited more by our imaginations than anything else.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="230" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4238052&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="230" src="http://vimeo.com/moogaloop.swf?clip_id=4238052&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/4238052">Projection on Buildings</a> from <a href="http://vimeo.com/nuformer">NuFormer Digital Media</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/eiiBXaHrmWY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2010/01/soul-pancake-projection-on-buildings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2010/01/soul-pancake-projection-on-buildings/</feedburner:origLink></item>
		<item>
		<title>The Most Amazing Application Ever</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/leH4nOI7GT0/</link>
		<comments>http://www.eclecticthoughts.com/2009/12/the-most-amazing-application-ever/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 15:21:22 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/2009/12/the-most-amazing-application-ever/</guid>
		<description><![CDATA[Wow, I am really loving the new version of ________!  It has been improved so much since the last version.  It ___________ and ___________ like never before.  My favorite part though, they added the ability to ___________.  I&#8217;ve never seen anything ___________ before, so of course I was very impressed.  Even better though, you can now ___________.  I&#8217;m also [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, I am really loving the new version of ________!  It has been improved so much since the last version.  It ___________ and ___________ like never before.  My favorite part though, they added the ability to ___________.  I&#8217;ve never seen anything ___________ before, so of course I was very impressed.  Even better though, you can now ___________.  I&#8217;m also quickly becoming a fan of the new ___________ that they added.  (Yay, nondisclosure agreements!)</p>
<div>Trust me; you&#8217;ll love it too&#8230; some day.</div>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/leH4nOI7GT0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/12/the-most-amazing-application-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/12/the-most-amazing-application-ever/</feedburner:origLink></item>
		<item>
		<title>Sticking along the “Making Things Fun” theme, imagine everyone 	breaking into song and dance at your next train station visit.</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/jVQDMJ2Td0E/</link>
		<comments>http://www.eclecticthoughts.com/2009/12/sticking-along-the-making-things-fun-theme-imagine-everyone-breaking-into-song-and-dance-at-your-next-train-station-visit/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 17:46:00 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/2009/12/sticking-along-the-making-things-fun-theme-imagine-everyone-breaking-into-song-and-dance-at-your-next-train-station-visit/</guid>
		<description><![CDATA[This is a video I found a while back, but wanted to share with everyone.  Why can&#39;t every day be like this?]]></description>
			<content:encoded><![CDATA[<div>This is a video I found a while back, but wanted to share with everyone.  Why can&#39;t every day be like this?</div>
<p /><object height="417" width="500"><param name="movie" value="http://www.youtube.com/v/7EYAUazLI9k&#038;hl=en&#038;fs=1" /><param name="wmode" value="window" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed src="http://www.youtube.com/v/7EYAUazLI9k&#038;hl=en&#038;fs=1" allowfullscreen="true" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="window" height="417" width="500"></embed></object> </p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/jVQDMJ2Td0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/12/sticking-along-the-making-things-fun-theme-imagine-everyone-breaking-into-song-and-dance-at-your-next-train-station-visit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/12/sticking-along-the-making-things-fun-theme-imagine-everyone-breaking-into-song-and-dance-at-your-next-train-station-visit/</feedburner:origLink></item>
		<item>
		<title>Changing People’s Behavior by Making Things Fun – Piano Stairs</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/TAZ1_9SNv8c/</link>
		<comments>http://www.eclecticthoughts.com/2009/12/changing-peoples-behavior-by-making-things-fun-piano-stairs/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 15:43:38 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[thinking]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/2009/12/137/</guid>
		<description><![CDATA[This video beautifully demonstrates how you can change peoples behavior by making experiences fun. Warning: Somethings simply can *not* be made fun&#8230; like taxes.]]></description>
			<content:encoded><![CDATA[<p>This video beautifully demonstrates how you can change peoples behavior by making experiences fun.  Warning: Somethings simply can *not* be made fun&#8230;  like taxes.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://youtube.com/v/2lXh2n0aPyw" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://youtube.com/v/2lXh2n0aPyw"></embed></object></p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/TAZ1_9SNv8c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/12/changing-peoples-behavior-by-making-things-fun-piano-stairs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/12/changing-peoples-behavior-by-making-things-fun-piano-stairs/</feedburner:origLink></item>
		<item>
		<title>Mamma, Ohhhh (The Muppets: Bohemian Rhapsody)</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/24wtyUp4ryc/</link>
		<comments>http://www.eclecticthoughts.com/2009/11/mamma-ohhhh-the-muppets-bohemian-rhapsody/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 03:42:00 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[muppets]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/2009/11/131/</guid>
		<description><![CDATA[You know, sometimes things just go well together&#8230; like peanut butter and jelly&#8230; cookies and milk&#8230; and the Muppets and Bohemian Rhapsody.]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://youtube.com/v/tgbNymZ7vqY"></param><embed src="http://youtube.com/v/tgbNymZ7vqY" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br />You know, sometimes things just go well together&#8230;  like peanut butter and jelly&#8230;  cookies and milk&#8230;  and the Muppets and Bohemian Rhapsody.</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/24wtyUp4ryc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/11/mamma-ohhhh-the-muppets-bohemian-rhapsody/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/11/mamma-ohhhh-the-muppets-bohemian-rhapsody/</feedburner:origLink></item>
		<item>
		<title>Splitting Bound Domains – Keeping Everyone Happy</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/OnBFICa3IHU/</link>
		<comments>http://www.eclecticthoughts.com/2009/11/splitting-bound-domains-keeping-everyone-happy/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 15:48:30 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.eclecticthoughts.com/?p=115</guid>
		<description><![CDATA[Having two domains mirroring one another, I wanted to split them up and actually use them for different purposes. But how can one safely split apart the domains without upsetting the folks and search engines referencing the domain that is going to be used for a new purpose? It turns out rather easily! Just to [...]]]></description>
			<content:encoded><![CDATA[<p>Having two domains mirroring one another, I wanted to split them up and actually use them for different purposes.  But how can one safely split apart the domains without upsetting the folks and search engines referencing the domain that is going to be used for a new purpose?  It turns out rather easily!<br />
<span id="more-115"></span></p>
<p>Just to make things easier to understand, I will share that <a href="http://www.eclecticthoughts.com">www.eclecticthoughts.com</a> and <a href="http://www.kieransmith.net">www.kieransmith.net</a> pointed to the same site, and explain that I wanted to use www.kieransmith.net for a new site &#8211; a single page listing all my &#8216;homes&#8217; on the &#8216;net.  I knew that search engines and friends (and probably some other folks) were referencing content on the www.kieransmith.net domain, so if I were to simply remove the mirroring, they would end up getting 404 pages if they tried to access the pages there.</p>
<p>The first thing to do is make sure that the new site has a custom 404 page; the browser should show a page, and not an error when someone hits a page that doesn&#8217;t exist.  If you don&#8217;t have this set up, it is rather easy to do.  I use PHP as my programming language of choice, so modify these to suite your needs if you use a different language.  To have the browser show a custom 404 page, simply add the following line to either your virtual-host entry or a .htaccess file in your document root:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">ErrorDocument</span> <span style="color: #ff0000;">404</span> /<span style="color: #ff0000;">404</span>.php</pre></div></div>

<p>Make sure you create your 404 file, too.  It won&#8217;t do anyone any good if you point folks who can&#8217;t find a page to another page that doesn&#8217;t exist!  By using PHP for our 404 page, we&#8217;re able to put some smarts behind the page, and maybe even serve up the &#8220;lost&#8221; page.  Using a mix of <a href="http://www.php.net/curl">cURL</a> and <a href="http://www.php.net/manual/en/function.header.php">headers</a> in PHP, one can check if a page exists somewhere else, and if it does, redirect the visitor to the now-not-lost page.  Here&#8217;s the script I came up with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;http://www.eclecticthoughts.com&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;+&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;REQUEST_URI&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">curl_exec</span>\<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ch</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #000088;">$info</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_getinfo</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$ch</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$info</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;http_code&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;200&quot;</span> <span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// If we got a 200 status code (versus a 404), the page was found.</span>
		<span style="color: #666666; font-style: italic;">// We can now throw a 301 (Moved Permanently) and redirect to the new address.</span>
		<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot;Location: http://www.eclecticthoughts.com&quot;</span> <span style="color: #339933;">.</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">&quot; &quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;+&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;REQUEST_URI&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">TRUE</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">301</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
	<span style="color: #b1b100;">else</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// Put your 'Oops, we lost your page content here.</span>
	<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><em>Note:</em> The line &#8220;curl_exec\( $ch );&#8221; should <strong>not</strong> have the slash in it.  Adding this slash was the only way I could sneak this line of code into the post.  Apparently all the other code goes through just fine, but this one borked WordPress when I posted it.</p>
<p>It is that easy!  Of course, you need the curl PHP extension set up, and if you don&#8217;t have access to your virtual-host file, you&#8217;ll need your hosting provider to allow .htaccess files, but most should have both of these conveniently set up, so the code provided should work &#8216;out of the box.&#8217;</p>
<p>Let me know if you have any additional ideas or run into any problems.  I&#8217;d love to hear from you!</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/OnBFICa3IHU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/11/splitting-bound-domains-keeping-everyone-happy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/11/splitting-bound-domains-keeping-everyone-happy/</feedburner:origLink></item>
		<item>
		<title>Break it down, basset!</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/OtyqqPmlLYE/</link>
		<comments>http://www.eclecticthoughts.com/2009/05/110/#comments</comments>
		<pubDate>Sun, 24 May 2009 13:21:50 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.kieransmith.net/2009/05/110/</guid>
		<description><![CDATA[Basset Hound Beat Box]]></description>
			<content:encoded><![CDATA[<p><b>Basset Hound Beat Box</b><br />
<object width="425" height="350"><param name="movie" value="http://youtube.com/v/5NBFRNEztSU"></param><embed src="http://youtube.com/v/5NBFRNEztSU" type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/OtyqqPmlLYE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/05/110/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/05/110/</feedburner:origLink></item>
		<item>
		<title>Everything is amazing!</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/apdJC1EqPbA/</link>
		<comments>http://www.eclecticthoughts.com/2009/05/109/#comments</comments>
		<pubDate>Fri, 08 May 2009 12:31:53 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.kieransmith.net/2009/05/109/</guid>
		<description><![CDATA[Everything is amazing, nobody is happy&#8230; This was shared with me on Facebook a while back. Now that I&#8217;ve linked up YouTube to my blog, I just had to share it. I couldn&#8217;t agree with him more!]]></description>
			<content:encoded><![CDATA[<p><b>Everything is amazing, nobody is happy&#8230;</b><br />
<object width="425" height="350"><param name="movie" value="http://youtube.com/v/jETv3NURwLc"></param><embed src="http://youtube.com/v/jETv3NURwLc" type="application/x-shockwave-flash" width="425" height="350"></embed></object><br />This was shared with me on Facebook a while back.  Now that I&#8217;ve linked up YouTube to my blog, I just had to share it.</p>
<p>I couldn&#8217;t agree with him more!</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/apdJC1EqPbA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/05/109/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/05/109/</feedburner:origLink></item>
		<item>
		<title>Fluteboxing</title>
		<link>http://feedproxy.google.com/~r/EclecticThoughts-AWorldOfIdeas/~3/UiTN8rpxx84/</link>
		<comments>http://www.eclecticthoughts.com/2009/05/108/#comments</comments>
		<pubDate>Fri, 08 May 2009 12:26:53 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://www.kieransmith.net/2009/05/108/</guid>
		<description><![CDATA[Fluteboxing @ Google London Google has a wonderful line of tech videos they post, lectures and presentations that take place. I find most of them enjoyable and educational &#8211; but this one is just plain fun.]]></description>
			<content:encoded><![CDATA[<p><strong>Fluteboxing @ Google London</strong><br />
<object width="425" height="350" data="http://youtube.com/v/e3kyNGVK-hI" type="application/x-shockwave-flash"><param name="src" value="http://youtube.com/v/e3kyNGVK-hI" /></object><br />
Google has a wonderful line of tech videos they post, lectures and presentations that take place.  I find most of them enjoyable and educational &#8211; but this one is just plain fun.</p>
<img src="http://feeds.feedburner.com/~r/EclecticThoughts-AWorldOfIdeas/~4/UiTN8rpxx84" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.eclecticthoughts.com/2009/05/108/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.eclecticthoughts.com/2009/05/108/</feedburner:origLink></item>
	</channel>
</rss>

