Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header( 'HTTP/1.1 301 Moved Permanently' );
- $url = 'http://my-main-domain.com/r.php?l='.trim($_SERVER['REQUEST_URI'],'/');
- header('Location: ' . $url );
- exit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement