Cannot get pagination to work. |
[eluser]alphabase[/eluser]
Hi, I've some problem with the functioning of my pagination. When I click the URL's generated by pagination, they look like this: Quote:http://example.com/topfive/show_all_top_five&per_page=4 And when I click one of the URL's, I get: Quote:404 Page Not Found My CI-config has been tweaked a little in order to get the Facebook SDK working, here's some information: Code: $config['base_url'] = ''; Here's some extraction of my .htaccess, which also contains short SEO-friendly URLs: Code: <IfModule mod_rewrite.c> And I would like to use this code to get pagination working, but that's the problem at this point: Code: function show_all_top_five($offset=0) { I hope someone has got a working solution for me. It's getting too blurry now, because I've been trying to tweak CI to get my Facebook-SDK working, but now other normal stuff doesn't seem to work anymore. I need the allow_get_array, since Facebook returns to my site after login with some $_GET parameters. Any help is appreciated, thanks for your time. With kind regards, Gerard Nijboer
[eluser]Aken[/eluser]
Query strings start with a question mark. Code: http://example.com/topfive/show_all_top_five?per_page=4
[eluser]alphabase[/eluser]
Hi Aken, Thanks for your reply. I understand what you mean, and that it should get me to thinking about the issue again, but I'm having a hard time with combining the query strings with the other SEO-friendly URLs. Could you give me a more concrete hint on how to fix this? Gerard |
Welcome Guest, Not a member yet? Register Sign In |