I have a search form on each of my pages. If I use form helper, it defaults to $_POST. I’d like the search term to show up in the URI:
http://example.com/search/KEYWORD
I’ve been on Google for about an hour, but to no avail. I’ve only found articles on how $_GET is basically disabled, because of the native URI convention. I can’t be the first person to want this kind of functionality, am I? Thanks in advance!
There’s a better fix if you’re dealing with people without JS enabled.
View:
Controller
I have used this a lot of times before.