Need help with RewriteRule for DYNAMIC URL

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

i have tried this

RewriteEngine On
RewriteRule ^/keywords/(\d+)$ /keywords/$1+products permanent;

gives 500 inetrnal error

any help is much appreciated

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.