Need to rewrite magento catalog search url catalogsearch/result?q=query
so that it should be like katalog/resultater?q=query
. As you can see before and after slash it should be different according to initial url.
Simply I need to translate this url. How to do this?
Best Answer
Yes,in this possible .You need to use Custom route in this case.
Create a custom route .
On custom route you can need it to katalog/resultate as controller as
Create di.xml
Create di.xml for define custom route in configuration
route file: