<?php if (isset($_GET['kl']) && $_GET['kl']!=NULL) { $fastphp=urlencode(str_replace(array(' ','%20'), '+', $_GET['kl'])); header("Location: /?s={$fastphp}"); }else{ header("Location: /"); } ?>