<?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>Jared Stenquist</title>
	<atom:link href="http://www.jaredstenquist.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaredstenquist.com</link>
	<description>CTO &#38; Founder of CampusLIVE, entrepreneur, hacker, idea guy</description>
	<lastBuildDate>Fri, 13 Apr 2012 21:11:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Paul Graham on finding cofounders</title>
		<link>http://www.jaredstenquist.com/2012/04/13/paul-graham-on-finding-cofounders/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=paul-graham-on-finding-cofounders</link>
		<comments>http://www.jaredstenquist.com/2012/04/13/paul-graham-on-finding-cofounders/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 21:11:58 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Entrepreneurship]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=434</guid>
		<description><![CDATA[http://www.youtube.com/watch?v=JK3sVFs6_rs]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=JK3sVFs6_rs">http://www.youtube.com/watch?v=JK3sVFs6_rs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2012/04/13/paul-graham-on-finding-cofounders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Coda SVN certificate permission errors</title>
		<link>http://www.jaredstenquist.com/2012/02/16/fixing-coda-svn-certificate-permission-errors/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-coda-svn-certificate-permission-errors</link>
		<comments>http://www.jaredstenquist.com/2012/02/16/fixing-coda-svn-certificate-permission-errors/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 16:23:25 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=424</guid>
		<description><![CDATA[I&#8217;m a big fan of Coda, but I had a lot of trouble getting source control to work properly. After creating a site and setting the local root folder, I kept receiving the following error: Could not retrieve status. svn: OPTIONS of &#8216;https://campuslive.slsapp.com/source/campuslive/branches/3.146.0_to_ux&#8217;: Server certificate verification failed: Issuer is not trusted (https://www.campuslive.slsapp.com) To fix this, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of Coda, but I had a lot of trouble getting source control to work properly. After creating a site and setting the local root folder, I kept receiving the following error:</p>
<p><strong>Could not retrieve status.</strong></p>
<p><strong>svn: OPTIONS of &#8216;https://campuslive.slsapp.com/source/campuslive/branches/3.146.0_to_ux&#8217;: Server certificate verification failed: Issuer is not trusted (https://www.campuslive.slsapp.com)</strong></p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2012/02/code_svn_error.png"><img class="alignnone  wp-image-425" title="code_svn_error" src="http://www.jaredstenquist.com/wp-content/uploads/2012/02/code_svn_error.png" alt="" width="445" height="197" /></a></p>
<p>To fix this, you should check the SVN path that Coda is using, and compare that to the output of &#8220;which svn&#8221; at your command line.</p>
<p><strong>Coda was looking here:</strong></p>
<pre>/usr/bin/svn</pre>
<p><strong>My local SVN installation was looking here:</strong></p>
<pre>/opt/subversion/bin//svn</pre>
<p><strong>Changing the path in Coda fixed the problem for me.</strong></p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-16-at-11.34.28-AM.png"><img class="alignnone  wp-image-430" title="Screen Shot 2012-02-16 at 11.34.28 AM" src="http://www.jaredstenquist.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-16-at-11.34.28-AM.png" alt="" width="433" height="375" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2012/02/16/fixing-coda-svn-certificate-permission-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing your ActiveCampaign mysql database for improved import speed</title>
		<link>http://www.jaredstenquist.com/2011/11/28/optimizing-your-activecampaign-mysql-database-for-improved-import-speed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=optimizing-your-activecampaign-mysql-database-for-improved-import-speed</link>
		<comments>http://www.jaredstenquist.com/2011/11/28/optimizing-your-activecampaign-mysql-database-for-improved-import-speed/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 15:49:33 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=420</guid>
		<description><![CDATA[If setup incorrectly, ActiveCampaign&#8217;s import system can be incredibly slow. I put together some tips for ensuring you have the best settings possible. Make sure you are using INNODB for a table engine instead of MyISAM. The table level locking of MyISAM can make inserts very slow on import. Find and open your MySQL config [...]]]></description>
			<content:encoded><![CDATA[<p>If setup incorrectly, ActiveCampaign&#8217;s import system can be incredibly slow. I put together some tips for ensuring you have the best settings possible.</p>
<ol>
<li>Make sure you are using INNODB for a table engine instead of MyISAM. The table level locking of MyISAM can make inserts very slow on import.</li>
<li>Find and open your MySQL config file. On linux this is typically at /etc/my.cnf. On Windows this is typically a file in your MySQL folder named my.ini</li>
<li>Add a line (or update if it is there) with the following:<br />
innodb_flush_log_at_trx_commit=0</li>
<li>Add a line (or update if it is there) with the following:<br />
innodb_buffer_pool_size=1G</li>
<li>Set the above size to 50% of the available memory on the server. In the above we set it to “1G” for if you have 2GB available on the server. If you have 8 GB on the server you could set this to “4G&#8221;</li>
<li>You MUST restart MYSQL on the server for these changes to be used.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/11/28/optimizing-your-activecampaign-mysql-database-for-improved-import-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to: Enable page speed tracking in Google Analytics</title>
		<link>http://www.jaredstenquist.com/2011/11/03/how-to-enable-page-speed-tracking-in-google-analytics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-enable-page-speed-tracking-in-google-analytics</link>
		<comments>http://www.jaredstenquist.com/2011/11/03/how-to-enable-page-speed-tracking-in-google-analytics/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 15:50:49 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Computers & Internet]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=414</guid>
		<description><![CDATA[The latest version of Google Analytics has a very nice feature called &#8220;Page Speed&#8221;. You&#8217;ll see the new tab underneath the content section&#8230; I wondered why i had no data under site speed. After some research I found that I needed to modify the GA javascript to include a directive for page speed. You&#8217;ll need [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of Google Analytics has a very nice feature called &#8220;Page Speed&#8221;. You&#8217;ll see the new tab underneath the content section&#8230;</p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2011/11/ga1.jpg"><img class="alignnone size-full wp-image-415" title="ga1" src="http://www.jaredstenquist.com/wp-content/uploads/2011/11/ga1.jpg" alt="" width="510" height="435" /></a></p>
<p>I wondered why i had no data under site speed. After some research I found that I needed to modify the GA javascript to include a directive for page speed. You&#8217;ll need to add <strong>_gaq.push(['_trackPageLoadTime']);  </strong> to the inline  javascript as shown here..</p>
<pre>&lt;script type="text/javascript"&gt;
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-858386-1']);
  _gaq.push(['_trackPageview']);
  _gaq.push(['_trackPageLoadTime']);

...continued...
&lt;/script&gt;</pre>
<p>After you save your modified file(s), you should begin to see data within 24 hours. Google tracks a small sample of pageviews and averages them all. You&#8217;ll see a page by page breakdown of speeds and how many times that page was sampled. This is helpful for finding outliers.</p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2011/11/ga2.jpg"><img class="alignnone size-full wp-image-416" title="ga2" src="http://www.jaredstenquist.com/wp-content/uploads/2011/11/ga2.jpg" alt="Google Page Speed" width="510" height="355" /></a></p>
<p><strong>Pros:</strong> Nice data over time in a GUI with 2 seconds of work. Breakdown of individual page speeds.</p>
<p><strong>Cons:</strong> Using this method fires an additional request to google for a second tracking pixel. Generally you shouldn&#8217;t notice this addition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/11/03/how-to-enable-page-speed-tracking-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This new Firefox plugin will blow your mind (if you&#8217;re a web developer)</title>
		<link>http://www.jaredstenquist.com/2011/10/30/this-new-firefox-plugin-will-blow-your-mind-if-youre-a-web-developer/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=this-new-firefox-plugin-will-blow-your-mind-if-youre-a-web-developer</link>
		<comments>http://www.jaredstenquist.com/2011/10/30/this-new-firefox-plugin-will-blow-your-mind-if-youre-a-web-developer/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 18:09:30 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Computers & Internet]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=410</guid>
		<description><![CDATA[I just had a chance to try out an incredible new plugin for Firefox called &#8220;Tilt&#8221;, which allows you to see a 3D model of any websites DOM structure. To give it a try, check out mozilla hacks website or directly download the XPI file. http://www.youtube.com/watch?v=dW2eAbr5FBw Here is a screenshot of the CampusLIVE team page inside [...]]]></description>
			<content:encoded><![CDATA[<p>I just had a chance to try out an incredible new plugin for Firefox called &#8220;Tilt&#8221;, which allows you to see a 3D model of any websites DOM structure. To give it a try, check out <a title="Mozilla Hacks, Tilt API" href="http://hacks.mozilla.org/2011/07/tilt-visualize-your-web-page-in-3d/" target="_blank">mozilla hacks website</a> or directly download the <a title="Tilt.xpu" href="https://github.com/victorporof/Tilt/raw/master/bin/Tilt.xpi">XPI file</a>.</p>
<p><a href="http://www.youtube.com/watch?v=dW2eAbr5FBw">http://www.youtube.com/watch?v=dW2eAbr5FBw</a></p>
<p><strong>Here is a screenshot of the CampusLIVE team page inside the view. Cool!</strong></p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2011/10/ce1fecca04d7dba0ca0360a6a7a991dd.png"><img class="size-medium wp-image-411 alignnone" title="ce1fecca04d7dba0ca0360a6a7a991dd" src="http://www.jaredstenquist.com/wp-content/uploads/2011/10/ce1fecca04d7dba0ca0360a6a7a991dd-300x200.png" alt="Tilt" width="300" height="200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/10/30/this-new-firefox-plugin-will-blow-your-mind-if-youre-a-web-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downloading files from YouSendIt directly to a linux server using lynx</title>
		<link>http://www.jaredstenquist.com/2011/10/23/downloading-files-from-yousendit-directly-to-a-linux-server-using-lynx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=downloading-files-from-yousendit-directly-to-a-linux-server-using-lynx</link>
		<comments>http://www.jaredstenquist.com/2011/10/23/downloading-files-from-yousendit-directly-to-a-linux-server-using-lynx/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 03:44:16 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Computers & Internet]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=400</guid>
		<description><![CDATA[I am frequently sent large zip files of photos or videos from clients, which I need to download and then FTP to their website. I decided today to find a different way to do this so I could bypass the long process of uploading GBs of files. 1) Go to your email from YouSendIt and [...]]]></description>
			<content:encoded><![CDATA[<p>I am frequently sent large zip files of photos or videos from clients, which I need to download and then FTP to their website. I decided today to find a different way to do this so I could bypass the long process of uploading GBs of files.</p>
<p><a href="http://www.jaredstenquist.com/wp-content/uploads/2011/10/e43d7d357918471c6f4735698d097f25.png"><img class="size-medium wp-image-406 alignnone" title="e43d7d357918471c6f4735698d097f25" src="http://www.jaredstenquist.com/wp-content/uploads/2011/10/e43d7d357918471c6f4735698d097f25-300x231.png" alt="" width="300" height="231" /></a></p>
<p>1) Go to your email from YouSendIt and right click on the download button. Copy this link.</p>
<p>2) SSH into your server.</p>
<p>3) Issue the &#8220;lynx&#8221; command to open a text-based browser</p>
<p><code>lynx https://rcpt.yousendit.com/1258529888/2f2b4adaf69882f770</code></p>
<p>4) Anytime you are prompted for a cookie or SSL error, just follow the prompt by pressing &#8220;y&#8221; or &#8220;Y&#8221;</p>
<p>5) Once the page loads, you just hit the down key until you get to the link to the file. Then hit the right arrow key to start the download.</p>
<p>6) exit lynx (ctrl + z)</p>
<p>7) locate the file that was downloaded. It&#8217;s likely in the folder you&#8217;re currently in.</p>
<p> <img src='http://www.jaredstenquist.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> unzip the file</p>
<p><code>unzip nameoffile.zip</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/10/23/downloading-files-from-yousendit-directly-to-a-linux-server-using-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Just setup my new Geekdesk &#8211; Automatic sit and stand</title>
		<link>http://www.jaredstenquist.com/2011/09/15/just-setup-my-new-geekdesk-automatic-sit-and-stand/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=just-setup-my-new-geekdesk-automatic-sit-and-stand</link>
		<comments>http://www.jaredstenquist.com/2011/09/15/just-setup-my-new-geekdesk-automatic-sit-and-stand/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 21:33:42 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=394</guid>
		<description><![CDATA[http://www.youtube.com/watch?v=zN9__Gj4u_c]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=zN9__Gj4u_c">http://www.youtube.com/watch?v=zN9__Gj4u_c</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/09/15/just-setup-my-new-geekdesk-automatic-sit-and-stand/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing a randomly ordered list from an array with php</title>
		<link>http://www.jaredstenquist.com/2011/08/14/printing-a-randomly-ordered-list-from-an-array-with-php/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=printing-a-randomly-ordered-list-from-an-array-with-php</link>
		<comments>http://www.jaredstenquist.com/2011/08/14/printing-a-randomly-ordered-list-from-an-array-with-php/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 15:59:51 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=391</guid>
		<description><![CDATA[A recent project of mine required that I print out a link of online stores in a random order, so that no store has more exposure at the top of the list than others. This is the solution I came up with using PHP. &#60;? // all of your items to shuffle go here $links [...]]]></description>
			<content:encoded><![CDATA[<p>A recent project of mine required that I print out a link of online stores in a random order, so that no store has more exposure at the top of the list than others. This is the solution I came up with using PHP.</p>
<pre>&lt;?
// all of your items to shuffle go here
$links = array('&lt;a href="http://www.google.com"&gt;Google&lt;/a&gt;',
                 '&lt;a href="http://www.yahoo.com"&gt;Yahoo&lt;/a&gt;',
                 '&lt;a href="http://www.ebay.com"&gt;EBay&lt;/a&gt;',
                 '&lt;a href="http://www.cnn.com"&gt;CNN&lt;/a&gt;',
                 '&lt;a href="http://www.wsj.com"&gt;Wall Street Journal&lt;/a&gt;'                
                 );

// this shuffles up the array order
shuffle($links);

// let's create a unordered list to display the items
    echo "&lt;ul&gt;";
    
// here's where all the items get printed    
foreach ($links as $link) {
    echo "&lt;li&gt;$link&lt;/li&gt;";
    }

// closing the unordered list    
    echo "&lt;/ul&gt;";
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/08/14/printing-a-randomly-ordered-list-from-an-array-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can tell a lot about a person</title>
		<link>http://www.jaredstenquist.com/2011/08/04/you-can-tell-a-lot-about-a-person/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=you-can-tell-a-lot-about-a-person</link>
		<comments>http://www.jaredstenquist.com/2011/08/04/you-can-tell-a-lot-about-a-person/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 00:59:19 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=387</guid>
		<description><![CDATA[water or coffee mac or pc aol or gmail car or bike club or dive bar take photo or be the photo sit or stand rent or buy cook or take-out read or watch talk or listen write or type txt or call Stereotypes aside it&#8217;s an interesting world we live in &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>water or coffee<br />
mac or pc<br />
aol or gmail<br />
car or bike<br />
club or dive bar<br />
take photo or be the photo<br />
sit or stand<br />
rent or buy<br />
cook or take-out<br />
read or watch<br />
talk or listen<br />
write or type<br />
txt or call</p>
<p>Stereotypes aside it&#8217;s an interesting world we live in</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/08/04/you-can-tell-a-lot-about-a-person/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forcing a splash page redirect one time with wordpress, php and cookies</title>
		<link>http://www.jaredstenquist.com/2011/07/04/forcing-a-splash-page-redirect-one-time-with-wordpress-php-and-cookies/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=forcing-a-splash-page-redirect-one-time-with-wordpress-php-and-cookies</link>
		<comments>http://www.jaredstenquist.com/2011/07/04/forcing-a-splash-page-redirect-one-time-with-wordpress-php-and-cookies/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 17:51:13 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Computers & Internet]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.jaredstenquist.com/?p=384</guid>
		<description><![CDATA[I hate splash pages and never ever suggest using one to any of my web development clients. After all, it just delays the user from getting to what they are looking for &#8211; your content. Unfortunately sometimes you get a client that doesn&#8217;t listen to your recommendations, even when supported with tons of supporting articles [...]]]></description>
			<content:encoded><![CDATA[<p>I hate splash pages and never ever suggest using one to any of my web development clients. After all, it just delays the user from getting to what they are looking for &#8211; your content. Unfortunately sometimes you get a client that doesn&#8217;t listen to your recommendations, even when supported with tons of supporting articles against splash pages like these&#8230;</p>
<p><a title="Sink the splash pages" href="http://www.websiteoptimization.com/speed/tweak/splash/" target="_blank">Sink the Splash Pages</a><br />
<a title="Splash Pages" href="http://www.shimonsandler.com/splash-pages-bad-for-usability-bad-for-seo/" target="_blank">Splash Pages: Bad for Usability, Bad for SEO</a><br />
<a title="Splash Pages - Do We really need them" href="http://uxdesign.smashingmagazine.com/2007/10/11/splash-pages-do-we-really-need-them/" target="_blank">Splash Pages: Do we really need them?</a></p>
<p>So if you&#8217;re building a website with WordPress and you have a client that despite the horrible idea, demands a splash page, I have a solution for you.</p>
<p><strong>1) Edit header.php (inside your theme folder), adding this to the top</strong></p>
<p>This code checks to see if the cookie &#8220;no_splash&#8221; is set. If the user hasn&#8217;t seen the splash page before, they&#8217;ll be redirected to the splash page&#8230; splash_page.php (which we create in step 2)<strong><br />
</strong></p>
<pre>&lt;?php
if(!<a rel="nofollow" href="http://www.php.net/isset" target="_blank">isset</a>($_COOKIE['no_splash'])) { // Start of the IF statement - if the user does not have a cookie that says whether he/she has visited the splash page, take them to the splash page
<a rel="nofollow" href="http://www.php.net/header" target="_blank">header</a>('Location:http://www.yoururlhere.com/splash_page.php'); // Redirect code
} else { // But... if they do have the cookie (they have been on the splash page), just serve the page as normal
//.... do page here
}
?&gt;</pre>
<p><strong>2) Create a file called splash_page.php and put it in your site root</strong></p>
<p>At the top of the file we need to add the code to create the cookie, so that next time they come to the site they don&#8217;t see this horrible splash page.</p>
<pre>
<pre>
<div>&lt;?php

$expire = <a rel="nofollow" href="http://www.php.net/time" target="_blank">time</a>() + 60*60*24; // This means, expire in 1 day - 60 seconds * 60 minutes * 24 hours
<a rel="nofollow" href="http://www.php.net/setcookie" target="_blank">setcookie</a>("no_splash", "1", $expire); // This makes the cookie. It goes in this order: setcookie(cookie_name, cookie_value, expiry_time)

// Do splash page from here down....
?&gt;</div>
</pre>
</pre>
<p>Below this code you will put your HTML for the splash page.</p>
<p><strong>3) You promise to never create another useless splash page!</strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredstenquist.com/2011/07/04/forcing-a-splash-page-redirect-one-time-with-wordpress-php-and-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

