• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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'] = '';


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.