Rewrite Rule in htaccess convert query string into slashes

Rewrite Rule in htaccess convert query string into slashes

error code: 523