11-30-2020, 03:34 AM
(This post was last modified: 11-30-2020, 07:54 AM by alfonsosach.)
In my work we are migrating some websites to HTTPS, but the routes have stopped working under HTTPS and the server returns error 404, they are just putting the /index.php/ and under HTTP they have been working correctly.
I've been searching but nothing I've found works
This is my config.php:
And this the .htaccess:
Thank you in advance
I've been searching but nothing I've found works
This is my config.php:
Code:
$config['base_url'] = 'https://myweb.es';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
And this the .htaccess:
Code:
Options FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
Thank you in advance