I need to rewrite the following. I have searched for a solution and tried loads of examples but can't get it to work.
www.example.com/display.asp?k=12345678910
to
www.example.com/catalogsearch/result/?q=12345678910
where the number 12345678910 changes for different products.
Can anyone show me how to do this please?