0

I have tried all the methods I can find on the web but nothing seems to work. I still get a 404 page. I already modified $config['index_page'] = ''; and add the lines to .htaccess as suggested by the ci documentation site. Please help. I am stressed with this for a whole day now!

these are what I put in .htaccess. I am using LAMP

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Sven
  • 97,248
  • 13
  • 177
  • 225

1 Answers1

0

use this code with .htaccess file.

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]

Mohammed Ahmed
  • 101
  • 1
  • 1