Welcome Guest, Not a member yet? Register   Sign In
index.php vs index.php?
#1

[eluser]Beginers[/eluser]
Hi guys im just curious about this two index.php and index.php?
at first i used the index.php but this does not load properly the image so i add ? after index.php so it works properly but then i dont want to show index.php? in the url cuz i looks silly in the url so i remove it using htaccess. after removing the index.php? in the url my page again does not load properly the css file why? pls help.
#2

[eluser]Beginers[/eluser]
while for your answer i google and i fount this and it really works.
i just add <?php echo base_url();?> in my css file Thanks..
#3

[eluser]Captain_Fluffy_Pants[/eluser]
to remove index.php from urls. go to app then click on config remove index.php from
Code:
$config['index_page'] = 'index.php';
after that it will look like
Code:
$config['index_page'] = '';




Theme © iAndrew 2016 - Forum software by © MyBB