Untitled

mail@pastecode.io avatar
unknown
php
6 months ago
211 B
5
Indexable
Never
<?php

$urls = [
    'http://example.com/page1',
    'http://example.com/page2',
    'http://example.com/page3',
];

$randomUrl = $urls[array_rand($urls)];
header("Location: $randomUrl");
exit();

?>
Leave a Comment