Oh okay, I understand now fully, thanks for the video. It should be pretty simple, I would do it like this:
add_filter( 'asp_results', 'asp_change_result_uri', 10, 4 );
function asp_change_result_uri($results, $search_id, $is_ajax, $args) {
foreach ( $results as $k => &$r ) {
$link_parts = explode('?', $r->link);
$r->link = 'http://localhost/oviedoincluye/directorio/?' . $link_parts[1];
}
return $results;
}