AzUrlShortener icon indicating copy to clipboard operation
AzUrlShortener copied to clipboard

Multiple redirects / vanity URLS to same destination

Open surlydev opened this issue 5 years ago • 2 comments

If metrics (usage) logging is enabled, it should be possible to have multiple redirects pointing to the same URL endpoint. For example /FBGithub would point to Frank's GitHub repo. There could be another redirect on another site (say Frank's LinkedIn profile) such as /MyGithub which would also point to Frank's GitHub repo, but when used in conjunction with the metrics, you could see where the URL was seen.

You may also be able to see this information by using REFERRER or something. So now, I'm not so sure.

┆Issue is synchronized with this Trello card by Unito

surlydev avatar Mar 20 '20 13:03 surlydev

Interesting @surlydev can you clarify? you mean

  • /test1 => https://github.com/FBoucher
  • /test2 => https://github.com/FBoucher

But you would like to add extract parameters?

  • /test1 => https://github.com/FBoucher
  • /test2 => https://github.com/FBoucher?media=linkedin

Is it what you are suggesting?

fboucher avatar Mar 29 '20 02:03 fboucher

Hi @FBoucher yes, for instance /test1 could be used on your LinkedIn profile and /test2 on your Twitter profile, for instance, then you could see where people found the link.

I wasn't thinking of extracting any parameters, such as ?media=linkedin as they will be part of the URL.

surlydev avatar Apr 03 '20 10:04 surlydev