Truncate long URLs