What are best practices for creating a clean and effective redirection page in PHP?

When creating a redirection page in PHP, it is important to ensure that the page is clean and effective. This can be achieved by using the header() function to redirect the user to the desired page, along with providing a clear message or indication of the redirection.

<?php
// Redirect to a specific page
header("Location: https://www.example.com");
exit;
?>