What are the potential pitfalls of using META tags for redirection in PHP?
Using META tags for redirection in PHP can lead to potential pitfalls such as slower page loading times, lack of compatibility with certain browsers or devices, and potential SEO issues. It is recommended to use PHP header() function for redirection as it is more efficient and reliable.
<?php
header("Location: https://www.example.com");
exit();
?>