How to avoid redirect when using iframe tag?
Use sandbox attribute. <iframe src="Site_URL" sandbox=""> - Full Protection. <iframe src="Site_URL" sandbox="allow-forms allow-scripts"> - Allow form submission and scripts to run. For additional attributes, check https://www.w3schools.com/tags/att_iframe_sandbox.asp.