<?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>Business Mindhacks &#187; REUS</title>
	<atom:link href="http://businessmindhacks.com/post/tag/reus/feed" rel="self" type="application/rss+xml" />
	<link>http://businessmindhacks.com</link>
	<description>Thinking about your business on another level.</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:52:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 Reasons To &#8220;Roll Your Own&#8221; TinyURL Using Wordpress</title>
		<link>http://businessmindhacks.com/post/10-reasons-to-roll-your-own-tinyurl-using-wordpress</link>
		<comments>http://businessmindhacks.com/post/10-reasons-to-roll-your-own-tinyurl-using-wordpress#comments</comments>
		<pubDate>Fri, 06 Mar 2009 17:37:55 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[is.gd]]></category>
		<category><![CDATA[Joel Comm]]></category>
		<category><![CDATA[Press This]]></category>
		<category><![CDATA[Press This Bookmarklet]]></category>
		<category><![CDATA[PressThis]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[redirect engine]]></category>
		<category><![CDATA[REUS]]></category>
		<category><![CDATA[Tinyurl]]></category>
		<category><![CDATA[tr.im]]></category>
		<category><![CDATA[TweetBurner]]></category>
		<category><![CDATA[TwitPwr]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[URL shortener]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress 2.7]]></category>
		<category><![CDATA[Wordpress Hack]]></category>
		<category><![CDATA[Wordpress stats]]></category>
		<category><![CDATA[Wordpress Theme]]></category>
		<category><![CDATA[Wp-Shortstats]]></category>

		<guid isPermaLink="false">http://businessmindhacks.com/post/10-reasons-to-roll-your-own-tinyurl-using-wordpress</guid>
		<description><![CDATA[My experiment with the Wordpress-Theme-based Redirect Engine/URL shortener (REUS) has kept me rather busy for almost a month now, but additional valuable insights were gained in the process. And even though this solution is initially a bit more labor intensive (taking only about 35 minutes or so to set up), creating a &#34;Roll Your Own&#34; [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/p/wordpress_med.gif" class="leftimg" alt="" />My experiment with <a target="_blank" href="/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress">the Wordpress-Theme-based Redirect Engine/URL shortener (REUS)</a> has kept me rather busy for almost a month now, but additional valuable insights were gained in the process. And even though this solution is initially a bit more labor intensive (taking only about 35 minutes or so to set up), creating a &quot;Roll Your Own&quot; Tinyurl-like service using a separate tweaked Wordpress install can immediately begin to pay dividends in a variety of ways:</p>
<p>1) <strong>I found a stats plugin to use that works well</strong> with the REUS install after a few custom tweaks. Some minor modifications to the database calls and the reporting page to allow for more tracking on recent links, and the WP-Shortstats plugin has been performing flawlessly. I have included it with custom changes in the new REUS .zip package (link at end of this post).</p>
<p style="text-align: center;"><img width="482" height="177" alt="" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_shortstats.gif" /></p>
<p style="text-align: left;">Best thing is, <strong>the stats data belongs to YOU, no one can hold it hostage</strong> (unlike e.g. Budurl.com, which wants to&nbsp;only allow you to download your stats with a paid account). Also note that many 3rd party services&#8217; stats solutions tend to lack good comparative screens, overviews, or ordering by e.g. &quot;all-time highest clicks&quot;, and so forth:</p>
<p style="text-align: center;"><img width="493" height="157" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_alltime.gif" alt="" /></p>
<p style="text-align: left;">With REUS you can watch your clicks roll in in near real-time as shown here (you&#8217;ll have to hit refresh in the &quot;Admin &gt; Dashboard &gt; Shortstats&quot; screen to update). No fancy graphics like world maps, etc., but the information you really need to assess the success of your links:</p>
<p style="text-align: center;"><img width="319" height="224" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_timeline.gif" alt="" /></p>
<p>2)&nbsp;<strong>Using your own short domain looks custom and gets attention. </strong>As you can tell from the above screenshot, people get curious about your custom/novel shorterner URL, and navigate to the &quot;/&quot; root quite often on first use. To make this useful/profitable for you, one key manual update that needs to be made to the &quot;/wordpress/wp-content/themes/redirect_engine/index.php&quot; file is to set up redirection of &quot;/&quot; to your blog or other page of your choice.&nbsp;</p>
<p>So in my example an inquisitive user would type in &quot;http://3on.us/&quot;, which for my set-up redirects them to the original REUS post on my blog.</p>
<p>3) You can <strong>create links that you completely determine the URL appearance of</strong>, both as to the domain (which will seem pretty custom vs. the publicly available services), as well as to the link extension, which can now be at least semi-sensible:</p>
<p style="text-align: center;"><img width="315" height="172" alt="" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_recent.gif" /></p>
<p>Keep in mind that <strong>a non-sense link is harder to process for the brain, and &quot;a confused mind always says No!&quot; </strong>as they say. So people are less likely to click. Meaningful URLs do have higher click-through rates from what I can tell so far, and marketing savants such as StomperNet&#8217;s Brad Fallon seem to agree (and guys like him test everything!).</p>
<p>Here is another bit of proof. This screen cap is a stat taken from celebrity Internet marketer Joel Comm&#8217;s TwitPwr.com URL shortening service:</p>
<p style="text-align: center;"><img width="493" height="89" alt="" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/twitpwr_stats.gif" /></p>
<p>What it shows is that the total average click-through for all TwitPwr.com links is just under 8 (about 160k / 20k), and his list of user includes some pretty illustrious company with largish follower counts. As my own stats screenshot from above shows, my REUS links have been pulling well above that on an average of about 1,000 followers over the last 4 weeks:</p>
<p><strong>147 links have been clicked 3438 times on Twitter and a few other sources, for an average of just under 24 clicks per link.</strong> Not bad (and yes, I did subtract out the &quot;/&quot; root inquiries and robots.txt hits; and robots.txt disallows all further search engine bot access).</p>
<p>Granted there are many variables that come into play that make a simple 1-to-1 comparison difficult, including the fact that Twitter users may be slightly more reluctant to click on TwitPwr.com links due to the slightly, shall we say, &quot;promotional&quot; nature of that service. But the numbers are still pretty convincing, especially given the follower advantage for many TwitPwr users.</p>
<p>4) <strong>URLs can be shortened further on the fly</strong> due to&#8230;</p>
<p><span id="more-184"></span></p>
<p>&#8230;Wordpress&#8217; post slug tolerance, e.g. &quot;3on.us/roll-tinyurl&quot; will still work as &quot;3on.us/roll-t&quot; in case you had to save even more space to fit into 140 characters on Twitter. By the way, if a duplicate match should arise due to lobbing off too much from a link extension, Wordpress/REUS will default to the earliest URL/post found:</p>
<p style="text-align: center;"><img width="538" height="129" alt="" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_cutlinkpre.gif" /></p>
<p style="text-align: center;"><img width="534" height="80" alt="" src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/reus_cutlinklength.gif" /></p>
<p>5) Just about <strong>all of the other URL shortener Bookmarklets disallow for creating custom extensions, even if the main service does!</strong> To get this feature, you will have to manually copy/paste the URL to be shortened into their home page, etc. Try it out yourself with e.g. <a rel="nofollow" target="_blank" href="http://tr.im/download">tr.im, their bookmarklet</a> does not appear to allow for customizing the link the way that the tr.im Web interface does, and it cannot be edited after the initial save.</p>
<p>Whereas the REUS Wordpress-based solution leverages Wordpress&#8217; own &quot;Press This&quot; bookmarklet to make custom extensions without copy/paste possible (as described in the original post and the new install instructions).</p>
<p>6) <strong>By owning your own Tinyurl service, you know that your links/stats won&#8217;t one day go out of business</strong> (in this economy, you never know&#8230;), just as long as YOU are still in business. And you can back up all of your links and stats, and could even run them locally from your own computer, just in case you were forced to give up your main hosting account and could no longer afford the $10/year for the add-on domain used for your REUS install (let&#8217;s just assume right now that that will NEVER happen&#8230;).</p>
<p>7) To recap some of the benefits already described in the original post, with REUS you can<strong> create links as short or even shorter than the shortest http://is.gd etc. link,</strong> because you could choose to have the link extension only be one character, e.g. &quot;http://3on.us/x&quot; (limited supply of those of course).</p>
<p>Some of the services already waste an extra 2 characters or more in the domain name, e.g. &quot;budurl.com&quot;, &quot;twurl.nl&quot;, &quot;twitpwr.com&quot;, etc. With REUS, if you get yourself a 3 character .us domain to install on, you will have up to 16 charaters for the link extension and still be within Twitter&#8217;s 30 character link length limit.</p>
<p>I&#8217;ve also found that I was able to quickly commit to memory some of my most-used links with shorter/memorable names, so that I could easily type them in manually in certain situations, for example in some blog comments.</p>
<p>8) If you are using <strong>marketing related link tracker services such as aWeber.com or 1shoppingcart.com, you can in principle use your new REUS to replace those as well.</strong> For that type of use you would also not be constrained by the extension length as much (e.g. in Email), and could use even more descriptive link extensions, e.g. &quot;http://3on.us/grab-your-free-copy-here&quot;.</p>
<p>9) <strong>You are free of the various idiosyncracies of other 3rd party shortener services.</strong> For example, both Tinyurl and is.gd truncate your &quot;#[anchor name/id]&quot; on-page-anchor entensions (not sure why), like those used to direct straight to a specific comment on a blog post page.</p>
<p>10) I have <strong>built a character counter into the custom &quot;press-this.php&quot; file</strong> (called by the &quot;Press-This&quot; bookmarklet), that comes with the REUS distribution. This makes it faster to create exactly the right link length (after I found myself doing a lot of counting initially) that will still display without Twitter abbreviating your link with an &quot;&#8230;&quot; ellipsis. As already mentioned, in the case of my example domain &quot;3on.us&quot;, I have exactly 16 characters left to stay within Twitters 30 character limit.</p>
<p>All while typically having the link extension prepopulated with candidate terms and phrases from the post/page Title (if present in the Title tag) that can easily be edited down to the desired length.</p>
<p>&#8212;-</p>
<p>So, 10 good reasons to get your own REUS install. It&#8217;s completely free, no strings attached. If you use Twitter and care about the links you post there, you really might want to give it a whirl.</p>
<p>Here is the link for the updated REUS distribution:</p>
<p><a href="http://businessmindhacks.com/v/redirect_engine.zip" target="_blank" rel="nofollow">http://businessmindhacks.com/v/redirect_engine.zip</a></p>
<p>Here is the <a href="/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress" target="_blank" rel="nofollow">link to the original REUS post again</a>, as well as a link to an <a href="/install-your-own-tinyurl" target="_blank" rel="nofollow">&quot;install instructions only, no rationales&quot; version.</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://businessmindhacks.com/post/10-reasons-to-roll-your-own-tinyurl-using-wordpress/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Building Your Own TinyURL In Less Than 1 Hour Using Wordpress</title>
		<link>http://businessmindhacks.com/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress</link>
		<comments>http://businessmindhacks.com/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress#comments</comments>
		<pubDate>Tue, 27 Jan 2009 00:09:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Life Hacks]]></category>
		<category><![CDATA[Press This]]></category>
		<category><![CDATA[Press This Bookmarklet]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[redirect engine]]></category>
		<category><![CDATA[REUS]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[URL shortener]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress 2.7]]></category>
		<category><![CDATA[Wordpress Hack]]></category>
		<category><![CDATA[Wordpress stats]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://businessmindhacks.com/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress</guid>
		<description><![CDATA[2nd UPDATE: Since this post came out, I have written a follow-up post digging deeper into my subsequent findings and explaining 10 Reasons To “Roll Your Own” TinyURL Using Wordpress, and have also created an &#8220;install instructions only, no rationales&#8221; version for your convenience.
&#8212;
OK, haven&#8217;t posted in a little while, in part because I had [...]]]></description>
			<content:encoded><![CDATA[<p><img class="leftimg" src="/p/wordpress_med.gif" alt="" /><strong>2nd UPDATE:</strong> Since this post came out, I have written a follow-up post digging deeper into my subsequent findings and explaining <a href="/post/10-reasons-to-roll-your-own-tinyurl-using-wordpress">10 Reasons To “Roll Your Own” TinyURL Using Wordpress</a>, and have also created an <a rel="nofollow" href="/install-your-own-tinyurl" target="_blank">&#8220;install instructions only, no rationales&#8221; version</a> for your convenience.</p>
<p>&#8212;</p>
<p>OK, haven&#8217;t posted in a little while, in part because I had been working on some pretty cool techy stuff. Here is the first result from it:</p>
<p>Have you been <strong>using URL shortening/redirection services like TinyURL, is.gd, etc. in order to send lengthy links to friends in a shorter format</strong>, or to fit them into the space-constricted posting fields on micro-blogging services such as Twitter?</p>
<p>If you have, and you&#8217;re a marketer, you have probably been wishing that you could track the number of clicks on those links you post to Twitter, or improve the appearance of the link text, etc.</p>
<p>While there are <strong>some services available that allow you to do some of that, such as Tweetburner.com which creates a trackable &#8220;http://twurl.nl/&#8230;&#8221; style link, they almost all have one drawback or another</strong>, e.g. they 1) don&#8217;t allow for custom link text (Tweetburner), 2) sometimes truncate your original link&#8217;s # anchors if present (is.gd), 3) don&#8217;t allow for tracking, 4) want your Twitter credentials to allow for tracking, and <strong>5) they all end up kind of owning your data.</strong></p>
<p>So I figured, if there was <strong>a fast/cheap solution to set the same thing up for yourself, so that you control all of the variables, that would be a good thing, no?</strong> You will see in a moment how it can be accomplished using a basic Wordpress 2.7 blogging software installation. Now you&#8217;ll likely still use other services to auto-shorten links as well, but when you want to make it count, and want your shortened link on your terms, I bet you&#8217;ll like what I have cooked up for you.</p>
<h2>The Instructions</h2>
<p>Let&#8217;s take it step-by-step. Note that I won&#8217;t get too in depth with basic technical explanations, I&#8217;ll assume that you are familiar with FTP and have already done a standard Wordpress install before. If you&#8217;re new to Wordpress, I&#8217;d recommend hiring someone to do these steps for you, they should bill you for at most 1 hour as you will see.</p>
<p>I am posting the expected time to complete with each step:</p>
<p>1) You will need to <strong>buy a .us domain to install as an add-on domain with one of your existing hosting accounts.</strong> I used a <a rel="nofollow" href="http://Bluehost.com" target="_blank">http://Bluehost.com</a> account for this, they have reasonable prices and service, but use any hosting/domain provider you would like. Note that it&#8217;s not worth getting a separate hosting account just for this engine, and an add-on domain should only cost about $8-10 per year.</p>
<p>Search for short, 3-4 character .us domains, as you&#8217;ll obviously want to save space. I found that there are still plenty of 3 character semi- to non-sensical domain names available with one or two numerals in the name, e.g. I picked 3on.us for my test case.</p>
<p>Once purchased, &#8230;</p>
<p><span id="more-182"></span></p>
<p>&#8230; install the domain in your hosting account&#8217;s domain manager as an &#8220;Add-on domain&#8221;, which should also create a new directory under your public_html directory, in my case I simply chose &#8220;3on&#8221;. This is what the process looked like in a CPanel hosting account:</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_addondomain.gif" alt="" width="501" height="336" /></p>
<p>&#8212; Time: 10 minutes (depending on how long you search around for a domain you like :).</p>
<p>2) Now simply <strong>download a copy of Wordpress (WP) 2.7, and install it on the newly created directory,</strong> so that the directory structure will read &#8220;/public_html/3on/wordpress/&#8230;&#8221; (structure shown below is how it should look in your FTP client program, obviously with your own directory name)</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_directories.gif" alt="" width="300" height="220" /></p>
<p>Go through a normal WP 2.7 install including setting up the database and editing wp-config.php, if you&#8217;re using Fantastico to automate this, just make sure that the install directory is the new one you want.</p>
<p>Either way, <strong>make sure you select option &#8220;no search engines&#8221; during the install,</strong> as this will avoid your stats getting falsified by frequent search engine hits on your redirect/link shortening engine. The &#8220;Settings &gt; Privacy&#8221; panel should later look as shown below, verify and if necessary adjust after the installation:</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_privacy_settings.gif" alt="" width="481" height="133" /></p>
<p>&#8212; Time: 10 minutes.</p>
<p>3) Upon install, <strong>log into the WP admin panel, and edit &#8220;Settings &gt; General&#8221;</strong> as shown in the screenshot below (obviously with your own domain name).</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_general_settings.gif" alt="" width="566" height="98" /></p>
<p>You&#8217;ll also need to do one more manual step to copy the &#8220;/wordpress/index.php&#8221; into the new domain&#8217;s root directory, i.e. &#8220;/3on/index.php&#8221; and change the path inside the file as described in the <span class="setting-description">link right next to &#8220;Blog Address URL&#8221;</span>:</p>
<blockquote>
<p><span class="setting-description">Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.</span></p>
</blockquote>
<p>The point being that you need your blog to respond at the domain level without any further path, i.e. &#8220;http://3on.us/&#8221; and NOT &#8220;http://3on.us/blog/&#8221;, etc. which would obviously be counterproductive to our link shortening agenda.</p>
<p>&#8212; Time: 2 minutes.</p>
<p>3) Now that Wordpress is installed, <strong>go to &#8220;Settings &gt; Permalinks&#8221;, and select &#8220;Custom Structure&#8221;, placing &#8220;/%postname%&#8221; into the field by that option.</strong> This will append your redirect &#8220;post&#8221; names directly to the domain, e.g. &#8220;http://3on.us/testlink&#8221; &#8212; Time: 1 minute.</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_permalink_settings.gif" alt="" width="463" height="106" /></p>
<p>&#8212; Time: 1 minute.</p>
<p>4) We&#8217;re now coming to the heart of the matter the modifications needed to have your Wordpress install act as a redirect engine. <strong>I&#8217;ve packaged the necessary files as a Wordpress Theme</strong>, download them here:</p>
<p><a rel="nofollow" href="http://businessmindhacks.com/v/redirect_engine.zip" target="_blank">http://businessmindhacks.com/v/redirect_engine.zip</a></p>
<p>Then <strong>extract the .zip file, and FTP upload the &#8220;redirect_engine&#8221; folder into your &#8220;/wordpress/wp-content/themes/&#8221; directory as you would any other theme.</strong> Activate the theme by going to &#8220;Appearance &gt; Themes&#8221;, then selecting &#8220;Wordpress REUS&#8221; by clicking on the theme&#8217;s screenshot or link, and finally clicking &#8220;Activate Wordpress REUS&#8221; in the upper right hand corner.</p>
<p>If you are interested in the code that makes the redirection work, look at the &#8220;single.php&#8221; file. It&#8217;s really quite simple. Also note that &#8220;page.php&#8221; contains the same code, so you can in principle use pages to create redirect links as well. However, you won&#8217;t be able to use the &#8220;Press This&#8221; bookmarklet we&#8217;re about to discuss to do so, as it defaults to &#8220;Post&#8221;. Use the &#8220;Pages &gt; Add&#8221; menu instead if you&#8217;re so inclined (e.g. to keep certain links separate from your everyday links).</p>
<p>&#8212; Time: 5 minutes.</p>
<p>5) Now that the redirection is in place, we just want to make it a bit more convenient. This is where leveraging Wordpress&#8217; &#8220;Press This&#8221; bookmarklet feature comes into play:</p>
<p>First, <strong>go to the &#8220;Tools &gt; Tools&#8221; menu, and there locate the &#8220;Press This&#8221; bookmarklet link</strong> as shown. Then drag &amp; drop it onto your Bookmarks Toolbar (in FireFox, which is the only browser I&#8217;ve tested this in, but IE should work similarly).</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_bookmarklet_link.gif" alt="" width="523" height="165" /></p>
<p>&#8212; Time: 1 minute.</p>
<p>6) You are now <strong>ready to test the new bookmarklet.</strong> Simply go to any web page you would like to shorten the URL for, and then click on the bookmarklet button in your Bookmarks Toolbar (obviously that Toolbar needs to be visible):</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_pressthis_bookmarklet.gif" alt="" width="480" height="94" /></p>
<p>You will see a popup as follows (and may have to give your new wordpress site permission to open pop-ups, you&#8217;ll want to do this):</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_pressthis_popup.gif" alt="" width="500" height="241" /></p>
<p>Note that you will have to be logged into your Wordpress install as &#8220;admin&#8221;, else you&#8217;ll be asked to log in first. <strong>Change the &#8220;post&#8221; title at the top to your desired link name,</strong> like in the following example (the post&#8217;s &#8220;slug&#8221;, which is the actual term for the link extension in Wordpress, is created automatically; note that any uppercase letters will be converted to lowercase and any spaces turned into a hyphen (-):</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_pressthis_linkname.gif" alt="" width="477" height="198" /></p>
<p style="text-align: left;">Then press the &#8220;Publish&#8221; button in the right bottom corner of the pop-up. Done! Your shortened redirect link has been created.</p>
<p style="text-align: left;">Note that the custom code for &#8220;single.php&#8221; arranges it so that the URL will automatically be parsed out of the &#8220;post&#8221; content (the live link shown above), while the link text (e.g. &#8220;Twitter Raising Money&#8230;&#8221; ) will be used as a post title/description in case you choose to pass this shortened URL on to Twitter. <strong>You can change this descriptive text in the form shown above, just make sure that you don&#8217;t accidentally delete the entire link</strong> (and thereby the underlying URL).</p>
<p style="text-align: left;">You will see the following output:</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_tweetthis.gif" alt="" width="480" height="153" /></p>
<p style="text-align: left;">Now the &#8220;TwitterThis!&#8221; option won&#8217;t be visible to you yet until you do one more custom change to Wordpress I&#8217;ll describe in a moment, but <strong>you will already be able to copy &amp; paste the newly created short link by right-clicking on &#8220;View Post&#8221;</strong> and selecting &#8220;Copy Link Location&#8221; (&#8220;Copy Shortcut&#8221; in IE):</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_copylink.gif" alt="" width="484" height="240" /></p>
<p style="text-align: left;">You will also be able to see you newly created &#8220;post&#8221; that is the basis of your short link in the &#8220;Posts &gt; Edit&#8221; screen, where you can do the same copy &amp; paste maneuver as above from the &#8220;View&#8221; option that appears as you hover over the individual post row in the table:</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_posts.gif" alt="" width="483" height="363" /></p>
<p style="text-align: left;">Or click the &#8220;View&#8221; link to test that your redirect actually works.</p>
<p style="text-align: left;">Note that you can also rename the bookmarklet itself in your browser&#8217;s Bookmark Toolbar by right-clicking, selecting &#8220;Properties&#8221;, and changing the &#8220;Name&#8221; to your desired option, e.g. &#8220;MyShortLink&#8221; in case you&#8217;re using the &#8220;Press This&#8221; bookmarklet for other Wordpress blog installations or yours.</p>
<p style="text-align: left;">OK, this was the long version of testing, let&#8217;s say it takes you a few minutes the first time. Once you have done it several times, this should take you only about 30 seconds anymore.</p>
<p style="text-align: left;">&#8212; Time: 3 minutes.</p>
<p style="text-align: left;">7) Now comes <strong>the last step to enable the &#8220;TwitterThis!&#8221; option on the &#8220;Press This&#8221; result pop-up</strong> as was shown above. Locate the file &#8220;press-this.php&#8221; in the directory &#8220;/wordpress/wp-admin&#8221; and rename it to &#8220;press-this.php.old&#8221; or similar. Now go to the REUS theme directory &#8220;/wordpress/wp-content/themes/redirect_engine&#8221; and find the &#8220;press-this.php&#8221; file there. Then copy that file into the &#8220;/wordpress/wp-admin&#8221; directory.</p>
<p style="text-align: left;">Done. I tried to find a more elegant solution for this step, but there didn&#8217;t seem to be any as far as adding the extra bit of code through the Wordpress action model, etc. If you know of a way that this could have been done in a more automated way, please contact me. Thanks.</p>
<p style="text-align: left;">Alright, here is what you will see when you click on &#8220;TwitterThis!&#8221; in the &#8220;Press This&#8221; pop-up (assuming that you are already logged into Twitter, else it will prompt you to log in before passing you on):</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_twitterstatus.gif" alt="" width="498" height="237" /></p>
<p style="text-align: left;">Basically, the status field will show the link text which will typically be the linked post&#8217;s title for most blogs, as well as your brand-new shortened link with the readable extension. Here is what the Twitter status (the &#8220;tweet&#8221;) will look like after you hit &#8220;update&#8221;:</p>
<p style="text-align: center;"><img src="http://businessmindhacks.com/wordpress/wp-content/uploads/image/wpeng/wp_tweetfinal.gif" alt="" width="601" height="100" /></p>
<p style="text-align: left;">As you can see, Twitter did NOT alter the link itself in any way, this will be the case as long as you keep it at a total of 30 characters or less, else it may be adjusted with an ellipsis (&#8220;&#8230;&#8221;) or turned into a Tinyurl.com style link by Twitter.</p>
<p style="text-align: left;">In my example, we have 7 characters for &#8220;http://&#8221;, 7 for the &#8220;3on.us/&#8221; domain name plus forward slash, <strong>leaving 16 characters for the link extension</strong> (the post name as described above). &#8220;twittervaluation&#8221; is exactly 16 characters as it happens, so we know it works. When I tested &#8220;twitter-valuation&#8221; (17 characters) the link had a bit cut off at the end by Twitter with the &#8220;&#8230;&#8221; ellipsis when the actual tweet was displayed.</p>
<p style="text-align: left;">&#8212; Time: 3 minutes.</p>
<h2>So what did we gain?</h2>
<p>First, by my count, <strong>the whole thing should have only taken about 35 minutes or so.</strong> If you are not as handy with Wordpress installs, FTP, etc. and want to hire someone to do this whole bit for you, my guess is that they&#8217;d have a hard time justifying more than 1 hour of billed time.</p>
<p>Second, you now have a completely flexible redirection engine / URL shortening (REUS, kind of sappy, I know) device, that</p>
<p>1) Can <strong>create links 2 characters shorter than even the shortest http://is.gd link,</strong> because you could choose to have the link extension only be one character, e.g. &#8220;http://3on.us/x&#8221; (obviously you&#8217;ll have only a limited supply of those&#8230;). Note also that is.gd does truncate your &#8220;#&#8221; on page anchor entensions, like those used to direct straight to a specific comment on a blog post page. Score another one for REUS&#8230;</p>
<p>2) Can <strong>create links that you completely determine the URL appearance of</strong>, both as to the domain (which will seem pretty custom vs. the publicly available services), as well as to the link extension, which can now be at least be semi-sensible.</p>
<p>If you are used to using the link tracker services of aWeber.com or 1shoppingcart.com, or have seen those in list emails sent to you, you can in principle use your new REUS to replace those as well. For that use you would also not be constrained by the extension length as much, and could use even more descriptive link text, e.g. &#8220;http://3on.us/grab-your-free-copy-here&#8221;.</p>
<p>3) I am working on a stats solution using an already available &#8220;Wordpress Stats&#8221; plugin as we speak, I will update you as soon as I&#8217;ve verified everything. Once that is in place, you will have stats for your REUS. In the meantime, you can use the Stats tools available from your hosting account, such as &#8220;Webalizer&#8221; or &#8220;Awstats&#8221; in CPanel, just turn them on for the new domain and you should be able to view your click-throughs. <strong>Either way, the data belongs to YOU.</strong></p>
<p>I would hope you agree: Not too bad&#8230;</p>
<p>The &#8220;theme&#8221; is being submitted to Wordpress.org later today, I will keep you posted when it officially becomes available from their site.</p>
<p><strong>UPDATE: OK, seems like this is a little over the Wordpress.org Theme Team&#8217;s heads</strong>, they didn&#8217;t know what to make of the REUS &#8220;theme&#8221; and rejected it (so far) on the grounds that &#8220;This is way too much work to setup a theme.&#8221; Even though the only truly exceptional step is the replacement of the &#8220;press-this.php&#8221; with our custom version. Oh well, no big deal, it is small enough (about 30KB zipped) to easily host from my own hosting account. Here is the link again:</p>
<p><a rel="nofollow" href="http://businessmindhacks.com/v/redirect_engine.zip" target="_blank">http://businessmindhacks.com/v/redirect_engine.zip</a></p>
<p>In happier news, <strong>I found a stats plugin to use that works relatively well out of the box</strong> to get some statistics going for your REUS install. It&#8217;s appropriately <a rel="nofollow" href="http://wordpress.org/extend/plugins/wp-shortstat2/" target="_blank">named &#8220;WP-ShortStats&#8221; and can be downloaded here</a>. I will talk to the creators and see if they&#8217;d like to make a small modification to the reporting page (&#8220;Dashboard &gt; ShortStat&#8221;) to allow for more tracking on each link, i.e. showing all of the referrers. Or else I&#8217;ll make some custom adjustments myself when I find the time. I&#8217;ll keep you posted.</p>
<p>Related to what I wrote near the beginning, it turns out that &#8220;Budurl.com&#8221; kind of holds your click-through stats hostage, you can only download them with a paid account. One more reason to use REUS&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://businessmindhacks.com/post/building-your-own-tinyurl-in-less-than-1-hour-using-wordpress/feed</wfw:commentRss>
		<slash:comments>98</slash:comments>
		</item>
	</channel>
</rss>

