Creating a module arguments page with a shorter URL I'm creating two pages with a custom the module. The first page makes an API call to create an XML object and then lists all objects. Each object contains 10 entries but i only display 3 of them. From here clicking on an object directs users to a module argument page.

Is there anyway for me to create an argument page that doesn't have 10 different entries in the URL?

/**
 * Implements hook_menu().
 */
function my_module_menu() {
  $items = array();
  //general page
  $items['my_module'] = array(
    'title' =&gt; 'My Module List',
    'description' =&gt; 'My module list Page',
    'page callback' =&gt; '_my_module_page',
    'access callback' =&gt; 'user_access',
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_CALLBACK,
      );
  //single event page
  $items['my_module/event/%/%/%/%/%/%/%/%/%/%'] = array(
    'page callback' =&gt; '_my_module_arguments',
    'page arguments' =&gt; array(2, 3, 4, 5, 6, 7, 8,9,10,11),
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_CALLBACK,
  );

  return $items;
}
My suggestion is concatenating arguments by a dilemma (something like -) and in callback function explode them simply by Php Explode function.

/**
 * Implements hook_menu().
 */
function my_module_menu() {
  $items = array();
  //general page
  $items['my_module'] = array(
    'title' =&gt; 'My Module List',
    'description' =&gt; 'My module list Page',
    'page callback' =&gt; '_my_module_page',
    'access callback' =&gt; 'user_access',
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_CALLBACK,
      );
  //single event page
  $items['my_module/event/%'] = array(
    'page callback' =&gt; '_my_module_arguments',
    'page arguments' =&gt; array(2),
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_CALLBACK,
  );

  return $items;
}

function _my_module_arguments($args){
 $items = explode("-",$args); // you can use another dilemma instead -
  //$items[0] first arg
  //$items[1] second arg
}