Reputation: 439
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
Reputation: 857
open a .htaccess file and paste below code.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$1 [L]
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