Pagination and .htaccess |
[eluser]bdshan[/eluser]
I am having a problem with pagination on my production site, but not on my development site. In the pagainataion links on my dev site I get http://localhost/<sitename>/index.php#, but in production I get http://<domain>/<sitename>/#. Whenever I click a pagination link in production nothing happens the page is not advanced. I think this has something to do with mod_rewrite and my .htaccess, but I don't know enough about it to make heads and tails. This is my .htaccess file Code: DirectoryIndex welcome.php index.php welcome.html Can I add another rule here to get pagination links that will work? Or is there another solution?
[eluser]fesweb[/eluser]
In my experience, that is more often a problem with your pagination config. If it is not looking for the correct uri_segment, then it won't do much. Code: $pages['total_rows'] = $query->num_rows(); |
Welcome Guest, Not a member yet? Register Sign In |