Welcome Guest, Not a member yet? Register   Sign In
How to remove index.php from URL in CodeIgniter ec2 elastic Beanstalk
#1

(This post was last modified: 07-21-2021, 11:27 AM by gibin.)

How to remove index.php from URL in CodeIgniter ec2 elastic Beanstalk

my configuration file

htaccess 

<IfModule mod_rewrite.c>
    Options -MultiViews

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

config.php

$config['base_url'] = 'http://XXXXXXXXX.elasticbeanstalk.com/';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
Reply


Messages In This Thread
How to remove index.php from URL in CodeIgniter ec2 elastic Beanstalk - by gibin - 07-21-2021, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB