I've spent much time searching for an answer but found nobody with the same issue :).
My local version is fine (running on ampps), the urls without index.php are working great. My local and prod folders are both in subfolders so it's like :
http://localhost/ci/
http://website.com/cms_ci/
But when I put my folder on the prod server, the homepage is working but if I want to reach http://website.com/cms_ci/content/ I'm getting a 404. If I go on http://website.com/cms_ci/index.php/content/, it's working.
Here are the settings of my config and htaccess files :
config.php
$config['base_url'] = 'http://localhost:8080/cms/';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
$config['url_suffix'] = '';
HTACCESS
Options -Indexes
RewriteEngine on
RewriteCond $1 !^(index\.php|assets/|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
Of course on my prod config file I've changed
$config['base_url'] = 'http://localhost:8080/cms/';
to
$config['base_url'] = 'http://www.website.com/cms_ci/';
I tried all kind of htaccess files but now I'm kinda stucked.
Thanks in advance