2
I need to get the search url for a specific term on a site built using Codeigniter. But when I type the term, the url changes only to: nomedosite.com.br/busca
I tried to add ?q=arquitetura
but it didn’t work.
2
I need to get the search url for a specific term on a site built using Codeigniter. But when I type the term, the url changes only to: nomedosite.com.br/busca
I tried to add ?q=arquitetura
but it didn’t work.
3
You mean: Pass parameters via URL?
If so, check your configuration file at
application/config/config.php
if the query strings option is enabled.
$config['enable_query_strings'] = FALSE;
If you are false, you won’t be able to do it.
For more information, follow the link:
https://ellislab.com/codeigniter/user-guide/general/urls.html
0
Codeigniter is designed to work with friendly url
www.site.com/curso/buscar/arquitetura
I suggest you see this topic http://codeigniterbrasil.com/passos-iniciais/urls-no-codeigniter/
Browser other questions tagged php codeigniter
You are not signed in. Login or sign up in order to post.
How the action is
busca
on your controller?– bfavaretto