Hi evrybody ‘im new to codeigniter and to MVC model as well, I need help to get my project working couse i’ve got this issues:
1) i’m in the main page and i clik on the link of the “about” page, the css file does not seems to load. and even if i include the css in the head section the images are still missing in the page.
2) in the configure file i’ve set the $config[‘base_url’] = ‘’; $config[‘index_page’] = ‘index.php’; now if i’m in the about page and i clik again on the about link the link it’s missing becouse i set the link in the menu: About and so the index.php it’s loaded twice: localhost/mywebsite/index.php/index.php/about. i could set the condition to cut the link if i’m in the page i need but i would like to know if there is a more polite solution and hope that the solution it’s not to put my hands in to the mod_rewrite .
I’ll like codeigniter because seems to be easy to configure and so really portable. and even if it’s simple i can’t figure out how to solve this issues
Thank you everybody for your time!
site_url()to generate your links? Maybe the base_url has to start with a `` otherwise. And either way, you really should remove that index.php part from the url using a mod_rewrite - David Mulder