<?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>Daniel Koskinen &#187; short urls</title>
	<atom:link href="http://danielkoskinen.com/tag/short-urls/feed/" rel="self" type="application/rss+xml" />
	<link>http://danielkoskinen.com</link>
	<description>Web designer, WordPress consultant and usability enthusiast</description>
	<lastBuildDate>Sat, 31 Mar 2012 14:00:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-20320</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Make your own short URLs with WordPress</title>
		<link>http://danielkoskinen.com/make-your-own-short-urls-wordpress/</link>
		<comments>http://danielkoskinen.com/make-your-own-short-urls-wordpress/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 05:02:49 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[short urls]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://danielkoskinen.com/?p=125</guid>
		<description><![CDATA[<p><p><p>from <a href="http://danielkoskinen.com">Daniel Koskinen</a></p></p><p>You might have noticed that I recently restored the main URL of my site to http://danielkoskinen.com . I decided it was a better idea to have my full name in the URL, and use my other domain (dani.fi) to generate my very own short URLs for use in Twitter &#38; elsewhere. There are many good [...]</p></p><p><p>Original post: <a href="http://danielkoskinen.com/make-your-own-short-urls-wordpress/">Make your own short URLs with WordPress</a></p></p>]]></description>
			<content:encoded><![CDATA[<p><p>from <a href="http://danielkoskinen.com">Daniel Koskinen</a></p></p><p>You might have noticed that I recently restored the main URL of my site to <a href="http://danielkoskinen.com">http://danielkoskinen.com</a> . I decided it was a better idea to have my full name in the URL, and use my other domain (dani.fi) to generate my very own short URLs for use in Twitter &amp; elsewhere.<br />
<span id="more-125"></span></p>
<p>There are many good URL shortening services around, like bit.ly, twu.rl and the WP-centric wp.me, and I&#8217;m not saying there&#8217;s anything wrong with those. However, if like me, you happen to have a nice short domain lying around that you&#8217;d like to use, why not make your own?</p>
<h2>Install WordTwit</h2>
<p><a href="http://www.bravenewcode.com/products/wordtwit/">WordTwit</a> is a plugin for WordPress by BraveNewCode for integrating your WordPress website with your Twitter account. I owe big thanks to <a href="http://www.mikkosaari.fi/">Mikko Saari</a> for telling me about it. The reason why I liked this specific plugin is it&#8217;s feature for creating short URLs using your own domain.</p>
<p>You can install WordTwit either directly from your WordPress admin (under <strong>Plugins &gt; Add new</strong>) or by downloading the zip and uploading it to your server under <code>wp-content/plugins/</code>.</p>
<h2>Redirect short domain to longer domain</h2>
<p>There are different ways to do this. Because I&#8217;m running this site on a dedicated server, I created a new VHOST entry for the second domain (dani.fi) and inserted the following:</p>
<blockquote>
<pre>   
&lt;VirtualHost *&gt;
   ServerName <strong>dani.fi</strong>
   Redirect 301 / <strong>http://danielkoskinen.com/</strong>
&lt;/VirtualHost&gt;
</pre>
</blockquote>
<p>Replace <code>dani.fi</code> with your own short domain name and <code>danielkoskinen.com</code> with the main domain for your site. If you&#8217;re running on a shared web host, you can probably just create a redirect in CPanel or equivalent.</p>
<h2>Configure WordTwit settings</h2>
<p><img class="size-large wp-image-126 aligncenter" title="Screen shot 2010-02-27 at 13.28.12" src="http://danielkoskinen.com/files/2010/02/Screen-shot-2010-02-27-at-13.28.12-460x240.png" alt="" width="460" height="240" /></p>
<p>Enable WordTwit, find it&#8217;s settings page and the section marked URL Shortening. Choose &#8220;Local&#8221; from the menu and save your settings. This will reload the page and reveal more options. You can now enter your short domain in the field marked &#8220;Use Alternate Domain&#8221;.</p>
<p>Save your settings, and you&#8217;re done!</p>
<h2>Try it out</h2>
<p>Go to edit any post, and you&#8217;ll find the short URL for the current post in the right sidebar, using your new nice-and-short domain name! There&#8217;s also a button to post a message to Twitter (which can be set up automatically for new posts with WordTwit).</p>
<p><p>Original post: <a href="http://danielkoskinen.com/make-your-own-short-urls-wordpress/">Make your own short URLs with WordPress</a></p></p>]]></content:encoded>
			<wfw:commentRss>http://danielkoskinen.com/make-your-own-short-urls-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

