skip to Main Content

Wamp url rewrite issue – Apache

My url is http://localhost/site.in/names-in.php?loc=kochi My required url is http://localhost/site.in/names-in/kochi I have this in .htaccess which unfortunately not working. Options +FollowSymLinks RewriteEngine on RewriteRule names-in/(.*)/ names-in.php?loc=$1 I have this in page print_r($_GET); which shows empty array. Any inputs why its not…

VIEW QUESTION
Back To Top
Search