.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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -