(10-24-2019, 08:27 AM)John_Betong Wrote: I tried the .htaccess file on CI_3.1.10 and it worked OK.
I notices that the Routes file has the following and no doubt accounts for why the Splash page is not appearing.
$route['default_controller'] = 'Home/index'; // to
$route['default_controller'] = 'welcome'; // shows the same 404 error page not found
Please try remming the second redirection because it overrides the original redirection to the Home controller.
And don't forget to use the following .htaccess script:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
That should render the Splash page and I find it is far better to start with something (Hello world) and add script until failure occurs. It is a nightmare starting with something that does not work.
Once working experiment with different debug options.
Sorry if I confused you with but didn't mean to
Code:
$route['default_controller'] = 'Home/index'; // to
$route['default_controller'] = 'welcome'; // shows the same 404 error page not found
But my routes only contain one line, I was referring to that I have already tried setting it up to 'welcome' and nothing, right now tried setting 'welcome' and the .htaccess you provide me and still nothing.
EDIT: So I have set up some old projects I had withing htdocs folder containing only, HTML, CSS, Bootstrap and some jQuery and they're rendering ok, seems it's problem within CI.