in my online project now i change my content and so, i have to change link too. but,for links that google already registered i have to do this. if server get request like this.

```
$_SERVER["REQUEST_URI"]="http://example.com/category/?company=listof_ele_top_manufacturers";

```

i want to redirect it to.

```
$_SERVER["REQUEST_URI"]="http://example.com/category/?company=listof.ele.top.manufacturers";

```

and company= many deffrent values. so,i want to change my url with \_(underscore)
to .(dot) so url should change with dot where it's have underscore. if solution come with .htaccess file change will be nice one. i already change my .htaccess file with this.

```
RedirectMatch 301 ^/com/ http://www.example.com/category/

```

it's redirect my directory name but not charecter i mention above.