I have a ReWrite rule that has 2 parameters, but the `nav` parameter shows a `/` before because of the URL.

```
RewriteRule ^([^/]+)(/[a-zA-Z0-9-/_]+)?$ index.php?pagename=$1&nav=$2 [L,QSA]

```

Is there a way I can remove the slash in the htaccess code?