I need help in rewriting search queries by search term, for example if you write url http://sallaty.jo/search/term1.html
this would display :
http://sallaty.jo/?subcats=Y&type=extended&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&cid=0&q=term1&x=0&y=0&dispatch=products.search
i have seo ON, and this is my htaccess look like
RewriteEngine on
Some hostings require RewriteBase to be uncommented
Example:
Your store url is http://www.yourcompany.com/store/cart
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
RewriteRule ^searchterm$ index.php?subcats=Y&type=extended&status=A&pshort=Y&pfull=Y&pname=Y&pkeywords=Y&cid=0&q=searchterm&x=0&y=0&dispatch=products.search [L]