My .htaccess is as below, and I need example.com/updatetagsyncronize.html/1/2
RewriteEngine On
RewriteBase /
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
example.com/updatetagsyncronize.html - it works like this
And i need
example.com/updatetagsyncronize.html/1/2 - with two extra parameters
I found how to simplify and use with multiple parameters here simplified htaccess
But it is not working
RewriteRule ^([-\w]+)?/?([-\w]+)?/?([-\w]+)?/?$ index.php?q=$1&seg2=$2&seg3=$3
What is the meaning of this (.*) and ([-\w]+) How can i rewrite this, combine first, because i am using cms modx, and maybe that why i am facing errors. Any advice or links. Thanks!!!