How to create programmatically multiple URL alias of same taxonomy term? I have category cars and I want to create its URL alias according to the region like if the user location is Australia than URL will mysite/australia/cars similar if the user location is USA than URL will be mysite/usa/cars.

Can you please anyone tell how can I achieve this kind of functionality?

Thanks in Advance.
If you use pathauto module:

You can use hook_pathauto_alias_alter  like the following:

/**
 * Implements hook_pathauto_alias_alter().
 */
function YourModuleName_pathauto_alias_alter(&amp;$alias, array &amp;$context) {
  // Change tags here by your term name
  if ($context['module'] == 'taxonomy_term' &amp;&amp; isset($context['type']) &amp;&amp; $context['type'] == 'tags'){
   // Get the current user the location for example australia
    $user_location = 'australia';
    // Change the alias to be
    $alias = $user_location. '/cars/[term:name]';
  }
}