I don't know .htaccess well. I wanted to do something like this. When a user will go to this link:
www.example.ca/C2767442
I want to redirect them to
www.example.ca/index.php?searchtext=C2767442&action=searchresults
I have tried like below :
RewriteEngine On
RewriteRule ^([^a-z0-9-])$ index.php?searchtext=$1&action=searchresults [NC,L]
any help?