Make a QR code whose destination can be understood and checked before printing.
Use the QR Code Generator alongside this illustrative example.
A practical example
For a printed event flyer, use the final HTTPS page rather than an editing link or a temporary preview. Scan a trial print on another phone and compare the resulting domain and path with the intended address. Keep a readable text URL alongside the code so the flyer remains useful when scanning fails.
Check the result
Preserve a clear margin and test at the final print size. A code that scans on a large screen may not scan on textured paper or after a logo covers part of it.
Try a comparison
Print two trial sizes on the material you will use. Scan from a realistic distance and angle rather than holding the phone perfectly square at close range. Choose a size that works reliably in that context and retain the quiet border.
What this does not establish
Encoding a URL does not verify the destination’s safety or keep the destination available. Use a page you control and maintain.