Hola,
 
He encontrado algo sobre cómo recogerlas, pero me falla cuando tiene más de 2 variable (seccion/galeria/categoria/books)  
 Código PHP:
    $get = $_SERVER['QUERY_STRING'];
 
  if(!(empty($get))){
    $get = explode("&", $get);
    $get = str_replace("=", "", $get);
 
    for($i=0; $i < count($get); $i++){
     $url = str_replace("=","", $get[$i]);
    }
 
   echo "<br /><br />" . $url;
 
}