Reputation: 2101
I'm trying to create a link as follows:
<a href="http://www.facebook.com/sharer.php?u=<?= $linkAddress ?>&t<?= $message ?>">
however, when I click the link, it takes me to the correct URL, but preceeded with:
http://pal.sandbox.dev.co.uk/go/music/artists/profile/show/ext/_auto/-/
which is (close to) the address of the page I've just come from. Anyone have any ideas why this might be happening?
to clarify:
the html generated is:
<a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.bbc.co.uk%2Fprogrammes%2Fp001d7pg&t=My+music+was+broadcast">
but clicking this link takes the user to the address:
http://pal.sandbox.dev.co.uk/go/music/artists/profile/show/ext/_auto/-/http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.abc.co.uk%2Fprogrammes%2Fp001d7pg&t=My+music+was+broadcast
Upvotes: 0
Views: 122
Reputation: 717
I'm sure you've worked this out by now but this is something called go tracking. It's an internal BBC thing so come and ask in #frameworks in IRC if you need help.
Upvotes: 0
Reputation: 2101
I've worked out that this is caused by javascript not php (disabling javascript fixes the problem). I haven't written any of this site's javascript, unfortunately, so will have to trawl through it looking for bugs..
Upvotes: 1
Reputation: 7575
<a href="http://www.facebook.com/sharer.php?u=<?= $linkAddress ?>&t=<?= $message ?>">
missing the = after t
Upvotes: 4