Url length, how short it? Our website have a large Url when paste as a link, now we want to short it.

for example

http://www.awene.com/article/له%E2%80%8C-ژێرناونیشانی-ئه%E2%80%8Cو-شته%E2%80%8C-چیه%E2%80%8C-كه%E2%80%8C-ره%E2%80%8Cوشته%E2%80%8C؟-كۆرێك-بۆ-ئازاد-حه%E2%80%8Cمه%E2%80%8C-ساز-ده%E2%80%8Cكرێتوك
It looks like you're using path auto to create these urls but the problem is that the transliterated version of your title in the url is too long. Couple easy answers are to either use the shorten module as jimajamma suggests (which is probably the best answer since it helps users with these long, complicated URLs) or you can update your automated alias settings to remove the title and use something else (ex. article/[[nid]]).

However, if you really want to keep the long title, you're going to need to truncate it when used by pathauto. I ran into a similar problem with custom breadcrumbs and long titles so I created a quick token hook to truncate the title. Here's how you could do that:

In your site module (if you don't have one you can create one and name it whatever you like), add the following (this code below was for 6.x) to register a new token to the token list:

function MYMODULE_token_list($type = 'all') {
  $tokens = array();

  if ($type == 'node' || $type == 'all') {
        $tokens['node']['MYMODULENAME-truncate-title'] = t("A truncated title token.");
  }

  return $tokens;
}


Next, add a processing function to tell token what to do with this new token value:

/**
 * Implementation of hook_token_values().
 */
function MYMODULE_token_values($type, $object = NULL, $options = array()) {
  $values = array();

  switch ($type) {
    case 'node':
      $values['MYMODULE-truncate-title']  = _MYMODULE_truncate_title($object-&gt;title);
  }
  return $values;
}


Finally, we can add a function to do the operation:

function _MYMODULE_truncate_title($title) {

   if (strlen($title) &gt; 30) {
       $title = drupal_substr($title,0,30)."...";
   }

   return $title;
}


Now, in your automated alias settings you can use this new token instead of the default title token, ex: 

article/[[MYMODULE-truncate-title]]


A little more involved than the other options (again, checkout shorten) but thought this code might be of use to others with similar issues.