The current .htaccess not working :
RewriteRule ^search\.cfm?q=(.*)$ index.php?current=search&q=$1 [NC,L]
current syntax is:
index.php?current=search&q=stackoverflow
New syntax :
search.cfm?q=stackoverflow
The current .htaccess not working :
RewriteRule ^search\.cfm?q=(.*)$ index.php?current=search&q=$1 [NC,L]
current syntax is:
index.php?current=search&q=stackoverflow
New syntax :
search.cfm?q=stackoverflow
Based on what you asked for, this should be what you need.
RewriteRule ^search\.cfm$ index.php?current=search [NC,L,QSA]
The QSA tag is going to append the q=
Query String back to your .php
file.