0
I currently have the following rule in . htaccess:
RewriteRule ^fale-conosco/?$ view/fale_conosco.php [NC,L]
And I would like it to be possible to inform a friendly URL after contacting us/.
Example:
fale-conosco/ajuda
For this I am using a regex but it is not working:
/^fale-conosco\/*([a-zA-Z0-9])*/g
I have tried several regular expressions but so far nothing has worked.
When I tested in the rule gave error when I added localhost
in front of the rest of the URL, such as ignoring what is in front of the fale-conosco/
?
I need what’s before the
fale-conosco/
is ignored and whatever is after it I will pass by parameter.– LeonardoEbert
I changed the answer, it worked?
– Luis Felipe Kaufmann da silva
It took me a long time to answer because I forgot, but it did work...
– LeonardoEbert