<?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>Skullsauce &#187; Development</title>
	<atom:link href="http://www.skullsauce.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skullsauce.com</link>
	<description>It&#039;s kind of like liquid brain waves!</description>
	<lastBuildDate>Mon, 01 Mar 2010 16:40:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Things I Forget When Making New Websites</title>
		<link>http://www.skullsauce.com/things-i-forget-when-making-new-websites/</link>
		<comments>http://www.skullsauce.com/things-i-forget-when-making-new-websites/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 02:29:17 +0000</pubDate>
		<dc:creator>jendead</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[statistics]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.skullsauce.com/?p=54</guid>
		<description><![CDATA[Try not to explode with excitement at this one.]]></description>
			<content:encoded><![CDATA[<p>Hey, nobody&#8217;s perfect. Some of these may seem obvious, but reminders never hurt. Some may consider this a fluff post; I consider it part of my personal checklist so I can find it again later. <img src='http://www.skullsauce.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h2>Get basic tracking/SEO stuff situated.</h2>
<p>Add the site to <a href="http://www.google.com/webmasters/">Google Webmaster Central</a>. Get a tracking code from <a href="http://www.google.com/analytics/">Google Analytics</a>, and then remember to actually put the tracking code in the site. If you&#8217;re using WordPress there&#8217;s a <a href="http://wordpress.org/extend/plugins/google-analytics-for-wordpress/">Google Analytics plugin</a> that makes it easy, although performance-wise you&#8217;re probably best off simply sticking it in the page footer.</p>
<p>Decide whether <a href="http://yoast.com/how-to-remove-www-from-your-url-with-mod_rewrite/">to www or not to www</a> early on. You don&#8217;t want people accessing both www and non-www versions of your site &#8211; it can damage your page rank. Some people <a href="http://www.yes-www.org/">like www</a> and some <a href="http://no-www.org/">do not</a>, but to me it&#8217;s a personal preference. I leave it in just out of habit.</p>
<p>Also, don&#8217;t forget to <a href="http://www.xml-sitemaps.com/">generate a sitemap</a> when you&#8217;re ready for launch. <a href="http://www.sitemapwriter.com/notify.php">Submit the sitemap</a> to various search engines.</p>
<h2>Configure Gmail.</h2>
<p>Of course, if you aren&#8217;t using Gmail then this probably won&#8217;t be very useful. There are already some really good tutorials on <a href="http://www.ehow.com/how_4788558_use-gmail-domain-name.html">how to make your domain work with Gmail</a>, so I&#8217;m not going to write it out here. I did discover that not everybody has access to their DNS records, so you may need to contact support for your hosting to get everything squared away.</p>
<h2>If you&#8217;re using WordPress, do a little prep work.</h2>
<p>Get a <a href="http://en.wordpress.com/api-keys/">WordPress API key</a> for Akismet instead of ignoring the warning for weeks, unless you don&#8217;t plan on allowing comments. In that case, delete Akismet altogether, along with any other unused plugins (*ahem* Hello Dolly). Don&#8217;t just deactivate, delete. Check on your permalink settings before making the sitemap, so you don&#8217;t need to go back and forth. Install <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> and generate the sitemap in the admin panel.</p>
<h2>Do your social networking junk.</h2>
<p>Make a <a href="http://twitter.com/">Twitter</a> account. Make a <a href="http://www.facebook.com/">Facebook</a> account (you probably already have one of these and are level 350 in Mafia Wars) and decide whether you want a <a href="http://www.searchenginejournal.com/facebook-group-vs-facebook-fan-page-whats-better/7761/">page or group</a>. Go claim your site on <a href="http://technorati.com/">Technorati</a> if it&#8217;s a blog, and <a href="http://www.quickonlinetips.com/archives/2006/07/top-10-reasons-why-you-need-a-technorati-account/">plant a few networking seeds while you&#8217;re at it</a>. Add your social networking buttons, either via plugins like <a href="http://wordpress.org/extend/plugins/sociable/">Sociable which makes share buttons</a>, and/or <a href="http://wordpress.org/extend/plugins/social-links-sidebar/">Social Links Sidebar, which pretty much does what it says</a>. I went the hard-coding route to cut down on plugin overhead, but for most people this will not be a concern or issue.</p>
<p>So, there you have it. Next post will (hopefully) be more interesting!</p>



Share this:


	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F&amp;title=Things%20I%20Forget%20When%20Making%20New%20Websites&amp;notes=Try%20not%20to%20explode%20with%20excitement%20at%20this%20one." title="del.icio.us"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F&amp;title=Things%20I%20Forget%20When%20Making%20New%20Websites&amp;bodytext=Try%20not%20to%20explode%20with%20excitement%20at%20this%20one." title="Digg"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F&amp;t=Things%20I%20Forget%20When%20Making%20New%20Websites" title="Facebook"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F&amp;title=Things%20I%20Forget%20When%20Making%20New%20Websites" title="StumbleUpon"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F" title="Technorati"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Things%20I%20Forget%20When%20Making%20New%20Websites%20-%20http%3A%2F%2Fwww.skullsauce.com%2Fthings-i-forget-when-making-new-websites%2F" title="Twitter"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.skullsauce.com/things-i-forget-when-making-new-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirecting a URL With PHP Arguments</title>
		<link>http://www.skullsauce.com/redirecting-url-with-php-arguments/</link>
		<comments>http://www.skullsauce.com/redirecting-url-with-php-arguments/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 05:36:30 +0000</pubDate>
		<dc:creator>jendead</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://www.skullsauce.com/?p=20</guid>
		<description><![CDATA[I gave up on .htaccess for this one!]]></description>
			<content:encoded><![CDATA[<p>Today I spent hours trying to figure out something that I thought was going to be very straightforward and simple. Wrong! Part of the problem is I don&#8217;t work with regular expressions often so the idea of writing .htaccess files is sometimes mystifying to me.</p>
<p>All I really wanted to do seemed easy enough:<br />
Redirect <code>example.com/blog/?p=$variable</code> to <code>example.com/?p=$variable</code>. </p>
<p>I just couldn&#8217;t figure out how to do it with .htaccess, and trial-and-error wasn&#8217;t a good idea since screwing up would throw the dreaded 500 Internal Server Error. I didn&#8217;t have much time so I finally threw in the .htaccess towel and decided to go with what I know &#8211; PHP.</p>
<p>Using <code>$_GET</code> can be dangerous if you don&#8217;t sanitize input, so <code>strip_tags()</code> helps ensure that the user wasn&#8217;t inputting malicious data. Your mileage may vary, and you may need more elaborate validation&#8230; have fun figuring that out. <img src='http://www.skullsauce.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Anyway, this code is ugly and really should be cleaned up, but it isn&#8217;t a bad place to start! My example only has one argument, but there&#8217;s no reason you couldn&#8217;t do this with more.</p>
<pre class="brush: php;">
$postid = $_GET['p'];

$postid = strip_tags($postid);

header('Location: http://example.com/?p='.$postid);
</pre>
<p>If anybody knows what the &#8220;proper&#8221; way to do this via .htaccess is, please let me know!</p>



Share this:


	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F&amp;title=Redirecting%20a%20URL%20With%20PHP%20Arguments&amp;notes=I%20gave%20up%20on%20.htaccess%20for%20this%20one%21" title="del.icio.us"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F&amp;title=Redirecting%20a%20URL%20With%20PHP%20Arguments&amp;bodytext=I%20gave%20up%20on%20.htaccess%20for%20this%20one%21" title="Digg"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F&amp;t=Redirecting%20a%20URL%20With%20PHP%20Arguments" title="Facebook"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F&amp;title=Redirecting%20a%20URL%20With%20PHP%20Arguments" title="StumbleUpon"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F" title="Technorati"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=Redirecting%20a%20URL%20With%20PHP%20Arguments%20-%20http%3A%2F%2Fwww.skullsauce.com%2Fredirecting-url-with-php-arguments%2F" title="Twitter"><img src="http://www.skullsauce.com/wp/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.skullsauce.com/redirecting-url-with-php-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/


Served from: reseller14.hrwebservices.net @ 2010-09-08 11:00:07 -->