Can't clean URL from custom query parameters
I think you can use Redirection Rules in your .htaccess file to achieve this task.

&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine on
  RewriteCond %{REQUEST_URI} ^(/branch)$
  RewriteCond %{QUERY_STRING} branchID=(.*)
  RewriteRule (.*) /branch/%1?  [R=301,L]
&lt;/IfModule&gt;


Hope, this helps you.