6
I’m customizing the Urls on my site, but the .htaccess
does not accept hyphens Urls, for example:
postagem/1/criando-efeito-fadeout-com-javascript
When I write the title without the hyphens it works, but with them it doesn’t, why? How do I fix it?
My rule of .htaccess
is written as follows:
RewriteRule ^postagem/([0-9]+)(/([a-z]+)/)?$ ler.php?post=$1&titulo=$2 [NC,L]
I guess I missed the exhaust to show up in the answer :)
– Bacco
@Bacco didn’t know that the backslash was a special character!
– utluiz
As a matter of fact, neither do I, but that’s ironic, it’s :)
– Bacco