Welcome Guest, Not a member yet? Register   Sign In
404 error on url with ? question mark
#1

[eluser]rpl oye[/eluser]
http://www.localhost/codeigniter/control...=bookmarks
hi. i have a controller "controller" if i access it with ? with the url, i got 404.

how do i solve it.

nb:i have $config['enable_query_strings'] = TRUE;
#2

[eluser]pickupman[/eluser]
Try these [url="http://ellislab.com/forums/viewthread/81559/#413521"]values[/url] in config.php. The links provides the settings to use clean url's and query strings. Your current settings require url to be http://localhost/codeigniter/index.php?c...=bookmarks
#3

[eluser]rpl oye[/eluser]
hi. I have followed that config, but it still the same, and was creating a new dillema.
but I did find a solution, but it is very specific solution.
I redirect the 404 to my main controller. and pass the parameter with it. and parse it accordingly inside that main controller.
(base64encode the url, and pass it along as the url parameter

the page that redirect the 404.

http://stackoverflow.com/questions/23100...odeigniter




Theme © iAndrew 2016 - Forum software by © MyBB