I'm trying to change this:
/news/index.php?id=101&title=this-is-a-very-long-title
to this:
/news/this-is-a-very-long-title/
with htaccess rewrite rule. Any idea how?
I have tried:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^.+/news/index.php?title=$1 [NC,L,R]