.htaccess - RewriteRule with 2 values -


url : http://siteexample.tld/index.php?a=profile&u=johndoe trying change url siteexample.tld/profile/johndoe if if a=groups siteexample.tld/groups/nameofgroup etc...

this htaccess far

rewriteengine on rewritecond %{request_filename} -f rewriterule ^(.*) $1 [l] rewriterule ^(([^/]*)+)(/([^/]{0,32})(/.+)?)?$  index.php?a=$1&q=$3    [l] 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -