Hi Guyz,
Am facing an issue that $_GET[] not working in my Mod_Rewrite,
My Odd URL is :
http://groupon.ig-demo.com/index.php?id=12&dealname=Oil%20Treatment
My Friendly URL is :
http://groupon.ig-demo.com/id/12/Oil%20Treatment.htm
And My HTACCESS is :
Options +FollowSymlinks
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteRule ^id/([^/])/([^/]).htm$ /index.php?id=$1&dealname=$2 [QSA,L]
When i try this all are working fine but $_GET["id"] and $_GET["deal_name"] is not working for me,
$_GET[] attribute is not working,
Any help much appreciated!
Thank You.