Welcome to WebmasterWorld Guest from 54.145.235.23

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

retrieve real target links from redirects

     
10:31 pm on Feb 25, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 25, 2007
posts: 94
votes: 0


hello
I got a page where links are all redirects, i want to have the real link before going and visiting the target page. Is there a script that can help me to do so ?
My links look like that :
http://example.com/links/jump.cgi?ID=4615

Thanks in advance
Hanyaz

[edited by: phranque at 12:37 am (utc) on Feb. 26, 2009]
[edit reason] exemplified url [/edit]

11:59 pm on Feb 25, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 20, 2008
posts:92
votes: 0


That is not a redirect link. Its a link to a script. There is no telling what that link might do.
12:37 am on Feb 26, 2009 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10684
votes: 33


that could possibly be the url of a script that externally redirects to another url.
if that were the case, you could capture the response to determine what the redirection url is.
you could do this with various tools such as the Live HTTP Headers add-on in FF, or the lwp-request command line tool, or a perl script using the LWP::UserAgent
and HTTP::Request perl modules...
8:02 am on Feb 26, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 25, 2007
posts: 94
votes: 0


thanks guys with live http headers it works
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members