How to get querystring information and display on a landingpage?

This is a link created on another website with variables to pass to magento2.3.1 website. www.mymagentowebsite.com/staticpage.html?w=150&h=220&c=2&shape=LZ0005

now I want to get the variables w,h,c and shape and display them on a static page.


Try This


or you shoud pass varable name in that like


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.