How do I put a question in a htaccess friendly url in the place I want?

1

I'm using this code:

RewriteRule ^editar/candidato=([0-9]+)&admin=([0-9]+)/?$ http://localhost/MeuSite/candidatoeditar.php?candidato=$1&id=$2 [QSA,NC,L]

But I would like the link to look like this:

^editar?candidato=([0-9]+)&admin=([0-9]+)/?$

How to do this?

    
asked by anonymous 03.08.2017 / 23:15

0 answers