Mobile app version of vmapp.org
Login or Join
Phylliss660

: Redirect QR code Is there a way to "intercept" incoming traffic from a QR code and redirect it to another page of your site? I have a QR code that is printed on physical paper. The scan

@Phylliss660

Posted in: #Mobile

Is there a way to "intercept" incoming traffic from a QR code and redirect it to another page of your site?

I have a QR code that is printed on physical paper. The scan will take the visitor to my root homepage, ie- mysite.com
However, the URL I need visitors to goto is mysite.com/code
Any way to do this without having to generate a new code? I don't want to have to reprint the physical copies!

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Phylliss660

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

You'd have to reprint the code, most QR readers launch the phone's browser so there is nothing for you to detect on the web front end to redirect the incoming link.

Options:-


Reprint the material
Print stickers and literally sticker over the code (pain but we've all had to do it at some point)
Redirect all mobile traffic to /code/ until you can reprint the
material.


Option 3 probably the best one for you right now.

In the future it's best to use url obfuscation for QR codes on printed material, at least this means that you can redirect as needed after the print run.

10% popularity Vote Up Vote Down


 

@Ogunnowo487

Probably not. It is likely that the QR code simply encodes the URL. There is not likely to be any further information contained in it that would enable you to detect that the referral came from a QR code, and the User-Agent: string is likely to be that of the web browser that the URL was passed to rather than the QR code scanner program.

See also stackoverflow.com/questions/8740886/detect-if-webpage-is-opened-inside-qr-code-reader-app

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme