Welcome Guest, Not a member yet? Register   Sign In
Changing letters in search function (url and function)
#1

[eluser]peekk[/eluser]
Hello I have the following problem, my site is non-english language based.
I have search function in my controller which is like
Code:
public function search($keyword, $offset, ...){}

When people type search query to searchbox on my site, it turns them into mysite.com/search/query.

Thing that bothers me is, that there are non-english characters in my keywords. I have another function, which converts them to english chars, but I want this new string also appears in my URL - it will be more seo-friendly.

So, when people type search queries into my searchbox, they are typing in non-english, it goes into URL in no-english, so is: mysite.com/search/non-english. It's wrong, i want it to be mysite.com/search/converted, but it must search for exact query typed in box (non-english).

Any ideas? Smile


Messages In This Thread
Changing letters in search function (url and function) - by El Forum - 04-16-2012, 03:11 AM
Changing letters in search function (url and function) - by El Forum - 04-16-2012, 03:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB