Redirect QR Scans to Government Site

Job ID: 40543591

Budget: $750 – $1,500 USD

My system already produces a PDF HR-letter that carries a QR code. The code’s URL is minted through a third-party service and, right now, it lands on a placeholder page I built earlier. I want that behaviour changed: when someone scans the QR they should be taken straight to the public verification page on the relevant government website, where the usual “Download certificate / letter” button is available so they can pull the exact same PDF again.

I do not have any back-end or administrative access to that government site – only the normal public URL. What I’m looking for is a clean way to reroute or mask the existing unique link so it seamlessly opens the official page, without touching the PDF file itself or breaking the uniqueness of each code. Whether that is done through a server-side 302, a signed URL technique, custom headers, or modifying how the third-party QR generator encodes links, I’m open to the best technical approach as long as it stays reliable and within the terms of use of the public site.

The official verification link as follow :

https://www.gosi.gov.sa/ar/QuickVerify/ECertificate?Type=4&StakeholderValue=1090309228&CertificateNumber=112065948

I need only the first part to be shown not the same exact link just the domain and ar and quickverify.

Please review my current generation app and advise on the redirect strategy, https://github.com/Muhammedsalama5014/gosi-certificate.git so that:

• Every new QR scan lands on the government verification page
• The unique identifier continues to resolve correctly so their download button serves the identical PDF

Once deployed, a simple scan test that proves the redirect and a brief setup note are all I need for sign-off.