I've already read some other questions regarding the same problem and tried the curl examples there. However these examples don't work for this specific url http://www.prisjakt.no/redirect.php?prisid=182556713. All I get is the same link with the redirect in it.
Do you have a solution to get url of the followed link, in this case http://www.siba.no/tv-lyd-bilde/hodetelefoner/lukkede-hodetelefoner/sennheiser-momentum-109434?
A solution using Guzzle would also be fine.
Thank you!
Edit: The problem seems to be that the redirect is made via JS and not with a header.