Welcome to tankete.com Sign in | Join | Help

José Lema

Inside the Community Server development team

Shared Posts


Badges



  • www.flickr.com
    This is a Flickr badge showing public photos from tankete. Make your own badge here.
CS Spotlight: Url Redirects

Today I figured I'd blog about an unknown, but great feature of Community Server. While I'm not committing to start another "daily" of tips/tricks/news, like Jaxon, Keyvan, Jayson, or even our newly hired Evangelist, Dave Burke, I do hope to spotlight some unknown CS features somewhat regularly. We'll see how it works out.

So, for today, I figured I'd shine the light on our Url Redirects feature. If you've ever seen http://www.tinyurl.com, you'll be familiar with url redirects. Let's say you're interested in advertising, but also tracking the success of those ads. Or you'd just like to track how your users arrived at your site. While you could do analysis by viewing server logs or using other products, you could also use our url redirect feature.

Let's walk thru an example. I've decided that I want to track how many folks get to my blog from my www.communityserver.org profile. So instead of entering my blog address directly, I'll create a url redirect.

  1. Go to Control Panel > Administration > System Tools > Manage Url Redirects
  2. Enter the location you want folks to be redirected to. In this case, it'll be my blog url.
  3. Enter an optional description to help you remember where you're using this. In this case, it'll be "my profile on cs.org"
  4. Click Create.

Now you'll see a new entry in the grid. To see what the "tiny url" is, just click on View. A modal will popup that allows you to copy/paste the url and use it anywhere.

As users click on your url redirect link, they'll be redirected to the appropriate url, and the hits will be recorded. Come back at any time to view how many times it's been used.

If you look closely, you'll notice that we use this feature as part of CS itself. In fact, since the url is absolute, you could use this feature to redirect to any website, not just your own CS installation.

Until next time...

Posted: Tuesday, May 16, 2006 12:36 PM by Jose
Filed under: ,

Comments

The Wizard said:

WOW this is a big one! I can't believe I haven't noticed this yet :-)
# May 16, 2006 3:56 PM

jayson knight said:

Wow, great post Jose...I was wondering what that feature was. Will DEFINITELY be getting some airtime on my sites w/ that one.
# May 16, 2006 3:59 PM

jayson knight said:

Ok here's the next obvoius question and I actually don't know if it makes much sense, but is there a way we can publish these shortlinks from our site for others to use? I.e. davebu linked to my CS Tidbits category from CS Daily News using the long URL format which means short of asking him to change the link myself (which I wouldn't do) I can't track it from my CS installation. Of course I can still track hits w/ the plethora of other stat tracking software out there, but it's nice to have CS as a one stop shop for quick stat tracking.

Granted, this would probably be a bit complex to implement, but perhaps have something like a "Press Release" section where would be linkers could generate their own shortlinks so long as they had the proper credentials to do so? Or perhaps have trackbacks generate their own shortlinks automatically (configurable of course) that we could then use to track hits from the originating site? I'm just thinking out loud right now...this is such a cool feature and would love to see it expanded beyond the ability for only site admins to use it!
# May 16, 2006 4:24 PM

Jose said:

While I got to deal with the UI for the feature, it was our fearless leader, Rob, who implemented the TinyUrlHandler. I also got to do a little cleanup. ;)
As for the future of this feature, we're looking to beef it up a bit. Some thoughts include categorization, clicks per day, referrers, and more. No promises, but I expect this functionality to only get better.
As for exposing it outside the admin interface...we'll see. :)
# May 16, 2006 5:01 PM

Rob Howard said:

Clean-up, CLEAN-UP?!?! What are you trying to say?!?!

Be honest, you took my half-baked / thinks he can still code prototype and made it into a really cool feature :)
# May 16, 2006 10:55 PM

protected virtual void jaysonBlog { said:

I don’t know how I missed this feature in Community Server, but setting up URL redirects is a great...
# May 17, 2006 4:27 PM

The Original .NET Geek said:

Community Server Rocks!  Since I have installed my CS site, I have been working to modify it. ...

# June 4, 2006 3:00 PM

J-O Eriksson said:

Do you frequently use links in your blogs and forums and/or at the home page of your Community Server...

# June 10, 2006 7:20 PM

Community Server Daily News said:

The Community Server Birds of a Feather Session at TechEd is tomorrow! Scott Watermasysk, Ben Tiedt and

# June 12, 2006 3:40 PM

Dave Burke said:

If we're going to fully appreciate the Community Server URL Redirect function, we must first agree that...

# July 4, 2006 1:10 AM

Community Server Daily News said:

from the editor's deskoccasional messages that don't fit anywhere elseIn case you were wondering

# July 5, 2006 3:11 PM

Wizards Space said:

This is how you can add a download or a link to a remote site as a forum to your CommunityServer site.When...

# July 13, 2006 12:12 PM

Wizards Space said:

This is how you can add a download or a link to a remote site as a forum to your CommunityServer site.
# August 27, 2006 7:46 PM

Daily News Faq List said:

Jose Lema wrote a great post on Url Redirection in Community Server that we covered here in The News.

# November 22, 2006 11:49 AM

Community Server Bits said:

Jose Lema wrote a great post on Url Redirection in Community Server that we covered here in The News.

# March 12, 2007 11:59 AM

Stan said:

Hi all

http://www.easyfreeforum.com/verizon verizon ringtones

http://www.foroswebgratis.com/admin-Foro.php?id_foro=88540 cingular ringtones

[URL href="http://www.easyfreeforum.com/verizon"]verizon ringtones[/URL]

[URL href="http://www.easyfreeforum.com/verizon"]verizon ringtones[/URL]

<a href="http://www.easyfreeforum.com/verizon">verizon ringtones</a>

http://www.onlyfree.de/cgi-bin/gbserver/books/3146.pl free sprint ringtones

[URL href="http://www.foroswebgratis.com/admin-Foro.php?id_foro=88540"]cingular ringtones[/URL]

[URL href="http://www.foroswebgratis.com/admin-Foro.php?id_foro=88540"]cingular ringtones[/URL]

[URL href="http://www.onlyfree.de/cgi-bin/gbserver/books/3146.pl"]free sprint ringtones[/URL]

<a href="http://www.onlyfree.de/cgi-bin/gbserver/books/3146.pl">free sprint ringtones</a>

# March 15, 2007 3:22 AM
New Comments to this post are disabled