views:

70

answers:

1

Hello guys,

sorry but something wired is happening to me i thought I should share. everything works fine in my CI install doing local development but i noticed that if I for example clicked on link with value of href being “controller/function” everything works fine. if i try to navigate to another page(essentially to another function inside my controller say “controller/function1”, my codeigntier stacks the url. this is an eg of what it does!

http://localhost/wayefoundation/index.php/mainpage/mainpage/programs

I was checking the community and only CI 1.5.3 was mentioned to have some sort of bug even though i believe to check myself as well. can anyone please expalin what is happening to the url above?

Much obliged

+1  A: 

thanks guys but i figured it out. sorry about the link but I had to use site_url() all the links I was fine. I did not have a case of "accumilated links" in my address bar. so i did this for all my hrefs

site_url("controller/method")

thanks and God bless.

Eagletrophy