This is one of those problems that make me question my sanity. I'm using php, codeigniter framework, removing index.php from URL with mod rewrite in htaccess.
I'm at this address
http://localhost/health/users/bob/progress/
I click a link that takes me to
http://localhost/health/users/bob/progress/01-04-15
Then I click on a link that takes me back to
http://localhost/health/users/bob/progress/
Now here's the strange thing. I click on the same link that earlier took me to
http://localhost/health/users/bob/progress/01-04-15
But instead, now it's taking me to
http://localhost/health/users/bob/progress/progress/01-04-15
I've gone through the steps a dozen times now. This is definitely the behavior it's giving me. It even happens when I do a full refresh. I actually have to visit a different address, then return to get the link at
http://localhost/health/users/bob/progress/
to work properly again. I'm guessing it's either related to the mod rewrite, or some other rewrite behavior in the codeigniter framework.