⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

REMOVED INDEX.PHP LAYOUT CHANGED



newbie2005

newbie2005
  • profile picture
  • Member

Posted 05 December 2013 - 04:40 AM

I follow http://ellislab.com/codeigniter/user-guide/general/urls.html to remove index.php

found the layout changed 

From

[attachment=732:ab.jpg]

 

To 

[attachment=733:aa.jpg]

 

Any hints ?

 


vecais

vecais
  • profile picture
  • Member

Posted 05 December 2013 - 07:32 AM

Hi,

 

There is a problem loading the css's library.

 

1. Do you have the.htaccess file at the root of the application?

 

Is important that file has this line:

 

RewriteCond $1 !^(index\.php|images|general|javascript|robots\.txt|js|css|assets|phpinfo\.php)

 

2. Also

 

Change this line in "application/config/config.php"

 

Original :

$config['index_page'] = 'index.php';
 

Change :

$config['index_page'] = '';

 

3. Don't forget restart apache when you change the .htaccess and enable rewrite_module option for apache.

 

Regards,


newbie2005

newbie2005
  • profile picture
  • Member

Posted 11 December 2013 - 09:11 AM

Thanks