Welcome to WebmasterWorld Guest from

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)

5+ Year Member

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 :

Thanks in advance

[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)

5+ Year Member

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)

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

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)

5+ Year Member

thanks guys with live http headers it works

Featured Threads

Hot Threads This Week

Hot Threads This Month