Hi
I need to rewrite a url in htaccess which is based on user search, just need to add a word to that url
for instance this is the url
here “dmg1502” is the term input by visitor, a visitor can use a term like flower, or red or pink any thing, i just want to add “+products” after each term like
this url
to be rewritten to this
www.anysite.com/search-results.php?keywords=dmg1502+products
i have tried this
RewriteEngine On
RewriteRule ^/keywords/(\d+)$ /keywords/$1+products permanent;
gives 500 inetrnal error
any help is much appreciated