skip to Main Content

I am experiencing an issue where when I run a CodeIgniter file on localhost, I am redirected to the dashboard. I have followed the steps provided in the CodeIgniter documentation, but the issue still persists. Is there a solution to this problem?

    "description": "The CodeIgniter framework",
    "name": "codeigniter/framework",
    "type": "project",
    "homepage": "",
    "license": "MIT",
    "support": {
        "forum": "",
        "wiki": "",
        "irc": "irc://",
        "source": ""
    "require": {
        "php": ">=5.2.4"
    "suggest": {
        "paragonie/random_compat": "Provides better randomness in PHP 5.x"
    "require-dev": {
        "mikey179/vfsStream": "1.1.*"



  1. Do you rename the file env to .env ?
    If not then rename it and change the server variable from production to development.

    Login or Signup to reply.
  2. You should check your config.php, .htaccess and .env files’ base_url

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top