I have some problem with my .htaccess file. Here I am adding my problem. Please help me.
My actual URL is as follows http://localhost/buydualit/?searchitem=toaster&pagenum=1 here by using my .htaccess am rewrited my URL as http://localhost/buydualit/toaster-1/
My URL rewriting rule is like follows:
RewriteRule ^[A-Za-z-0-9,\"'-\/]+\-([0-9]+)\/$ buydualit/index.php?pagenum=$1&searchitem=$2
In this rule how can I retrieve toaster from http://localhost/buydualit/toaster-1/ (searchitem=$2 which is not getting)? Please help me.