Welcome Guest, Not a member yet? Register   Sign In
Controlling URL Suffix


Is there any way to control the URL suffix in a given controller, or at least with Pagination? When using
I do not want my ".html" suffix added on... Any ideas would be great!


You could try unsetting the URL suffix temporarily:

$this->config->set_item('url_suffix', '');

That worked perfectly the first time! Thanks so much!

This is odd. I am testing with a URL suffix set in config/config, but I don't see it added to my paginated links...

Sorry to dig this one back up but... I have come across the need to set a different url suffix for a single controller. I tried using

$this->config->set_item('url_suffix', 'html');

Is this possible from the controller?

Theme © iAndrew 2016 - Forum software by © MyBB