.htaccess - Apache rewrite all paths to index.php -
how rewrite paths like:
/xyz/ijk?a=b&c=d
to index.php:
/index.php/xyz/ijk?a=b&c=d
but variable path_info = /xyz/ijk it's when don't use rewrite (/index.php/xyz/ijk?a=b&c=d)
try this:
rewritecond %{request_filename} !-f rewriterule ^(.*)$ index.php/$1 [qsa ]
Comments
Post a Comment