get parameter from url rewrite [closed]

Its all depend how you have extended your url.
The easiest way is by

$_GET['tour'];

and other way is by wp_query

global $wp_query;
$wp_query->query['tour];

I think this should help you out.