Welcome Guest, Not a member yet? Register   Sign In
Pretty URLS and trailing slashes
#5

[eluser]rdjs[/eluser]
I think the uri library is for retrieving a segment of the current URL with the bonus of stipulating if you want slashes. This is great if you are trying to extract that data to use in your application however I think that konj75's problem is more to do with how the url is re-written by either Apache or the Application in the browser address bar.

As the OP says...
Quote:I can get the following kind of result:
www.sitehere.com/blog/index.php/blog
Which removes the slash on the urls I want them gone from but it adds back in index.php which I really don’t want.

They can almost get the desired result but at the expense of including the index.php in the url too. I should think that this is a .htaccess issue and I am sure there is a .htaccess genius could suggest a solution.


Messages In This Thread
Pretty URLS and trailing slashes - by El Forum - 08-03-2009, 09:27 AM
Pretty URLS and trailing slashes - by El Forum - 08-03-2009, 10:46 AM
Pretty URLS and trailing slashes - by El Forum - 08-03-2009, 03:00 PM
Pretty URLS and trailing slashes - by El Forum - 08-03-2009, 03:25 PM
Pretty URLS and trailing slashes - by El Forum - 08-04-2009, 03:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB