Search in Mobile

Please i need help.
My mobile search works when the url is entered directly on my mobile browser but the searchbox always redirect to this url:

Instead of

Please can anyone make my mobile search redirect to the last url above...

It works well in the desktop view.