Many questions regarding QR are from years ago. My question is, will a single QR handle 2 functions.

What I'm trying to achieve is. A QR which allows user to connect to my Wi-Fi (Hotspot) AND open a desired website. NOT A CAPTIVE PORTAL.