redirect domain tweek
php < 5.4 support