Is it possible to alter the User-Agent string before redirecting to a location in PHP with header('Location: https://example.com/')?
header('Location: https://example.com/')