This URL 1 is not working URL 2 is working fine. So the condition should be "after byod.php remove ampersand and put question mark" only for byod.php not for other php scrips
1. http://10.168.4.253/byod.php&redirect=www.google.com.sg/search?q=cars........
2. http://10.168.4.253/byod.php?redirect=www.google.com.sg/search?q=cars........
Is this possible using htaccess