I want to transfer my CI project from localhost to a live server, so I copied all my project folders of CI to the public_html folder using FTP Client.
Here's how it look :
I modified the
config.php,
base_url,
.htaccess as needed. But nothing's working.
If any problem in my
.htaccess codes:
PHP Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
config.php:
Code:
$config['base_url'] = 'http://xxxxxxxx.com/';
The Others directory contains my css/js/img files, and all are invoked using base_url(), so I don't think that's a problem.