Friendly url encoding

0

Hello,

I have a url in the format / page / term1 / term1. It happens that when you pass texts with accents, the browser is translating correctly, example / page / water / mineral

I used the function encodeurl() of php, coded the url I made the impression on the screen, but still it did not work, continued appearing / page / water / mineral, instead of the url coded, then when accessing the link with the url / page / water / mineral error in browser!

My friendly url rule RewriteRule ^busca/([a-z,0-9,A-Z,_-]+)/([a-z,0-9,A-Z,_-]+)/?$ /busca.php?pg=$2&termo=$1

Any solution to pass urls with accents? I need to pass with seats because I need to enter the term water correctly in the search field.

Thank you

    
asked by anonymous 17.01.2018 / 21:19

0 answers