I'm customizing the URLs of my site, but .htaccess
does not accept URLs with hyphens, for example:
postagem/1/criando-efeito-fadeout-com-javascript
When I write the title without the hyphens works, but with them not, why? How do I resolve this?
My .htaccess
rule is written like this:
RewriteRule ^postagem/([0-9]+)(/([a-z]+)/)?$ ler.php?post=$1&titulo=$2 [NC,L]