Welcome Guest, Not a member yet? Register   Sign In
Few questions about rewriting and pagination!
#1

[eluser]AnVeRsLi[/eluser]
Hi,

I'm stuck with few problems and hope someone can help me.

How do i remove the controler name from my url?

Example: "example.com/start/category/cat_name" to "example.com/category/cat_name"

I'm using one controler for all my pages.


Second question is about pagination.

When i'm using pagination for "example.com/start/products" works fine, but when i'm using pagination for "example.com/start/products/name" is not working?
#2

[eluser]AnVeRsLi[/eluser]
No one?
#3

[eluser]umbongo[/eluser]
i'm no expert but i'll bite since no one is helping you...

as for the URL, i think you could use apache's mod_rewrite, using the .htaccess file [google will tell you more about that].

As for pagination i think you may have to provide a little more info. There is a good video tutorial on pagination at http://codeigniter.com/wiki/Category:Help::Tutorials
#4

[eluser]AnVeRsLi[/eluser]
Pagination -> here <- works, but the problem is with -> this <- page. As you can see, the database connection works when you put the offset manually at the adressbar.




Theme © iAndrew 2016 - Forum software by © MyBB