How to redirect the user to a mobile app or a website on click of a hyperlink sent in an email? Should it need to be handled on server-side using PHP?

前端 未结 5 1417
臣服心动
臣服心动 2020-12-31 19:04

I\'ve a website which is already developed using PHPFox and it\'s working fine. Now, iOS development team has created a mobile app in iOS for the same funct

5条回答
  •  借酒劲吻你
    2020-12-31 19:49

    You'll never know from where the user will open the link app or desktop until the user actually opens it.

    So I would try to proxy the URL based on the user agent.

    Here is an example on how to do it in nginx.

提交回复
热议问题