<?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>BlinkTag Inc &#187; htaccess</title>
	<atom:link href="http://blinktag.com/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://blinktag.com</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 13:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Redirect root domain of custom short URLs using bit.ly pro</title>
		<link>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=redirect-root-domain-of-custom-short-urls-using-bit-ly-pro</link>
		<comments>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 08:06:51 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bit.ly]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[shorteners]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[URLs]]></category>

		<guid isPermaLink="false">http://blinktag.com/?p=755</guid>
		<description><![CDATA[We recently used bit.ly pro to implement custom short urls for 511contracosta.org &#8211; with 511cc.org. Its currently a free service and works the same as bit.ly shortened URLs, only with a custom domain name of your choosing. Amazon just announced yesterday that they are using bit.ly pro for custom URLs using amzn.to. Things worked great, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-759 colorbox-755" title="bitly_logo" src="http://blinktag.com/wp-content/uploads/2010/04/bitly_logo.png" alt="" width="146" height="39" />We recently used <a href="http://bitly.pro/">bit.ly pro</a> to implement custom short urls for <a href="http://511contracosta.org">511contracosta.org</a> &#8211; with <a href="http://511cc.org">511cc.org</a>. Its currently a free service and works the same as bit.ly shortened URLs, only with a custom domain name of your choosing. <a href="http://techcrunch.com/2010/04/14/amazon-goes-pro-with-bit-ly/"> Amazon just announced yesterday</a> that they are using bit.ly pro for custom URLs using amzn.to.</p>
<p>Things worked great, and it was easy to set up the custom url with bit.ly pro by changing the A record for the domain name, however this meant that anyone going to 511cc.org directly with no hash on the end would be redirected to bit.ly&#8217;s main page. We needed this to redirect to a URL of our choosing, in this case 511contracosta.org. This isn&#8217;t an option in bit.ly pro, <a href="http://bitly.pro/faq#root">according to their FAQ</a> its only available for bitly.Pro Enterprise users which <a href="http://blog.bit.ly/post/519223659/bit-ly-1-3">costs $995/month</a>. This was way beyond our price range.</p>
<p>Fortunately, its pretty easy to use .htaccess to carry out this.</p>
<ul>
<li>First, you need to set up the short domain name to use namesevers that point to a hosting account you control. For us, this was <a href="http://mediatemple.net/">Media Temple</a> so we set nameservers to ns1.mediatemple.net and ns2.mediatemple.net.</li>
<li>Next, add a file called <code>.htaccess</code></li>
<li>The contents of the .htaccess file should be:<br />
<blockquote><p><code><div class="gistem"><div id="gist-1337152" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'>RewriteEngine on</div><div class='line' id='LC2'>RewriteRule ^/?$ http://511contracosta.org [L]</div><div class='line' id='LC3'>RewriteRule ^(.*)$ http://bit.ly/$1 [R=301,NC]</div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1337152/eded4f39c5b3c6d70d604eb280aba087f7789ced/file1.txt" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1337152#file_file1.txt" style="float:right;margin-right:10px;color:#666">file1.txt</a>
            <a href="https://gist.github.com/1337152">This Gist</a> is brought to you using <a href="http://en.bainternet.info/2011/simple-gist-embed"><small>Simple Gist Embed</small></a>.
          </div>
        </div>
</div>
</div><style type="text/css">@import "http://gist.github.com/stylesheets/gist/embed.css"; .gistem .highlight {background: inherit; !important;}</style><br />
</code></p></blockquote>
</li>
<li>You should replace &#8220;http://511contracosta.org&#8221; with the domain name you&#8217;d like to redirect the root to</li>
<li>Enjoy bit.ly pro, with at least one feature of bitly.pro enterprise</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/redirect-root-domain-of-custom-short-urls-using-bit-ly-pro/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Can I Buy a Vowel?</title>
		<link>http://blinktag.com/can-i-buy-a-vowel/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=can-i-buy-a-vowel</link>
		<comments>http://blinktag.com/can-i-buy-a-vowel/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 17:06:07 +0000</pubDate>
		<dc:creator>Brendan Nee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blinktag]]></category>
		<category><![CDATA[domain names]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://blinktag.com/?p=664</guid>
		<description><![CDATA[Notice anything different in our URL? We just completed purchasing and transitioning to http://blinktag.com from http://blnktag.com. Note the lack of the letter &#8220;i&#8221; in our old domain name. This new domain name is easier to communicate and matches our company name. All links to the old site redirect properly and all @blnktag.com email addresses forward [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blinktag.com/wp-content/uploads/2009/12/buyvowel.jpg" alt="" title="buyvowel" width="300" height="225" class="alignright size-full wp-image-665 colorbox-664" />Notice anything different in our URL?  We just completed purchasing and transitioning to <a href="http://blinktag.com">http://blinktag.com</a> from <a href="http://blnktag.com">http://blnktag.com</a>.  Note the lack of the letter &#8220;i&#8221; in our old domain name.</p>
<p>This new domain name is easier to communicate and matches our company name.  All links to the old site redirect properly and all @blnktag.com email addresses forward to their @blinktag.com counterparts.  </p>
]]></content:encoded>
			<wfw:commentRss>http://blinktag.com/can-i-buy-a-vowel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 14/22 queries in 0.019 seconds using disk: basic

Served from: blinktag.com @ 2012-02-09 08:55:15 -->
