CodeIgniter and many other PHP frameworks rout URLs, e.g. if default controller is root.php then both URLs will work
if controller has a function 'login' then this URL is valid
This is very handy, but the HTML template that used to work in first example, doesn't work in the second, e.g. this relative path is no longer valid
<link rel='stylesheet' href='stylesheets/style.css'/>
and instead I have to use
<link rel='stylesheet' href='../stylesheets/style.css'/>
Is there a way around it?