Sign in to follow this  
Followers 0
mrmaxx

converting a t.co (or other "short" URL

9 posts in this topic

I'd like to get to the "real" website referred to in a t.co or makeashorterlink or whatever URL. Is there any way to do that, short of following the link?

Share this post


Link to post
Share on other sites

I'd like to get to the "real" website referred to in a t.co or makeashorterlink or whatever URL. Is there any way to do that, short of following the link?

Asked on a local mailing list and was given the suggestion of unshorten.com for a web-based URL. There are Firefox and Chrome plugins to do this as well.

Share this post


Link to post
Share on other sites

So THIS is what "NABC" has been hanging around for days to post? Hello, forum admins...banning/blocking isn't enough. You also need to clean up the posts that got through.

DT

Edited by DavidT

Share this post


Link to post
Share on other sites

None of those (including the ones you haven't seen because Steve and Lou got to them first) had been banned before posting. Hence the "Report" button any member is urged to use to help out with keeping the place tidy. Umm ... I didn't see any reports myself but I guess you used it? And it's been cleared without evident action? Just trying to understand ...

Share this post


Link to post
Share on other sites

When I saw the post here from NABC full of spam links, they had already been banned, so yes, I probably should have use the report function instead, but also, I'd think that whoever did the banning would have searced for all posts from the userid.

DT

Share this post


Link to post
Share on other sites

When I saw one of the spam posts, I didn't bother to report it, since I figured that dealing with such posts would be a high priority for this place.

Regarding the original topic:

Asked on a local mailing list and was given the suggestion of unshorten.com for a web-based URL. There are Firefox and Chrome plugins to do this as well.

Can you recommend a specific Firefox addon?

Edited by Dave_L

Share this post


Link to post
Share on other sites

Another option is:

wget http://t.co/[removed] --spider

at least on Linux (distribution=Debian, version=wheezy). The "--spider" tells it to just check for the page without downloading it. So once it stops getting "301 Moved Permanently" redirects and gets a webpage, it should stop. Then the last location displayed would be the actual location.

The one I tested with (removed so I'm not advertising some random site) actually redirected to a bit.ly one that redirected to the final site, so apparently this method will handle multiple redirects.

Share this post


Link to post
Share on other sites

Thanks for the "wget" tip.

I found that wget returns a zero result if the URL works, and non-zero if it fails, which is helpful for using it in a scri_pt.

Edited by Dave_L

Share this post


Link to post
Share on other sites

&nbsp &nbsp&nbsp&nbsp&nbsp Due to administrative issues we are experiencing with this topic, I am closing it. If you have a follow-up, please post to topic "Converting a Short URL (follow ups)". I apologize for any inconvenience this may cause.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0