In my .htaccess I have the following:
RewriteRule ^topic=([0-9]+)\+autor=([-0-9a-zA-Z/%&]+)\+titulo=(.*)$ /post.php?topic=$1&autor=$2&titulo=$3 [L]
which allows me to use a url of this type:
http://localhost/topic=8+autor=JhonDoe+titulo=Este-post-es-solo-prueba
The problem is that I would like to replace the =
and the +
of the .htaccess with /
There should be something like that, if I'm not mistaken:
RewriteRule ^topic/([0-9]+)\/autor=([-0-9a-zA-Z/%&]+)\/titulo=(.*)$ /post.php?topic=$1&autor=$2&titulo=$3 [L]
to allow me to use a url like this:
http://localhost/topic/8/autor/JhonDoe/titulo/Este-post-es-solo-prueba
but for some reason I get an error. What am I doing wrong?