i'm having an problem with the URL of Codeigniter.
When i use one controller with parameter, example: localhost/ci/products/news
(where localhost/ci
is the url base), after i click in any element <a />
, example: <a href="home"/>
Codeigniter redirects for localhost/ci/products/home
and no for localhost/ci/home
.
Anyone know why this happens?