JamesHusband
8/22/2017 - 8:53 AM

gistfile1.txt

if( strpos( $_SERVER['REQUEST_URI'], 'reviews' ) !== false ) // Check if url contains 'reviews'

   $uribits = explode("/",$_SERVER['REQUEST_URI']); 'explode uri'
   $operator_slug = $uribits[3]; 'get operator name from exploded uri'
   
   header('Location: http://www.superfreeslotgames.com/mobile/reviews'.$operator_slug.$subid_url ); // new redirect
} else {
   header('Location: http://www.superfreeslotgames.com/mobile/'.$subid_url ); // default to standard redirect
}