Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $current_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
- function redirect_seo($new_url){
- header("HTTP/1.1 301 Moved Permanently");
- header("Location: $new_url");
- die();
- }
- if($current_url == 'IDE JÖN AMIRŐL ÁT AKARSZ IRÁNYÍTANI')
- redirect_seo('AZ ÚJ CÉL');
Advertisement
Add Comment
Please, Sign In to add comment