Welcome Guest, Not a member yet? Register   Sign In
How to have a trailing slash at the end of the URL??
#5

[eluser]tonanbarbarian[/eluser]
here is a novel approach, untested tho

why not set the url suffix to /
In the config file
Code:
$config['url_suffix'] = '/';
Then as long as you use site_url or the other CI functions that return a url all urls will end with /


Messages In This Thread
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 05:25 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 07:32 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 07:36 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 12:07 AM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 02:03 AM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB