I'm using the following structure in addresses / links to my friend's url on fixed pages:
RewriteRule ^teste(.*)$ teste.php
So, my address looks like this: www.site.com/teste
It happens that if the user enters the word test next to another term, the site finds the same way, being that should send to the page of error 404 ..
Ex: www.site.com/teste123
With the above link typed, it redirects to the test page normally ..