<?php // This will just redirect you to example.com $url = "https://example.com"; header("Location: $url"); ?>