Welcome Guest, Not a member yet? Register   Sign In
Problems with urls

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:
<p> <a href="index.php/about">About</a></p>
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 Tongue.

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 Tongue

Thank you everybody for your time!

Theme © iAndrew 2016 - Forum software by © MyBB