• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.