shahid khan
shahid khan

Reputation: 439

Moving Codeigniter to another programmers computer

I would like to move my current codeigniter Project Which works fine in my laptop as well as my desktop but when i try to move codeigniter project to other system default controller is loading but when i try to access other pages it is not working i get error Not found the rquested url was not found on this server

both system has windows 10 and wamp

please help me to solve my problem

Upvotes: 1

Views: 1451

Answers (1)

Manish sharma
Manish sharma

Reputation: 857

  1. first to copy your project folder than to move window 10 wamp inside the paste the project.
  2. open your phpmyadmin and create a same database name than to import database
  3. open a .htaccess file and paste below code.

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* index.php/$1 [L]

  4. if any case your project not run than you facing some issue so please check first of all rewrite_mod enabled or disable. if rewrite_mod disable so please enable it.

Upvotes: 2

Related Questions