.htaccess - htaccess not working due to lack of knowledge -
so want send 3 variables (separated slashes) index.php can't working, i'm leek htaccess.
my base url localhost:8888/smbo/
and have code not work:
<ifmodule mod_rewrite.c> rewriteengine on rewritebase /smbo/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^([a-za-z0-9_-]+)/([a-za-z0-9_-]+)/([a-za-z0-9_-]+)$ index.php?id=$1&idtwo=$2&idthree=$3 </ifmodule>
who can me?
try code :
rewriteengine on rewritebase /smbo/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^([^/]+)/([^/]+)/([^/]+)$ /index.php?id=$1&idtwo=$2&idthree=$3
Comments
Post a Comment