Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter project localhost to live server transfer
#1

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 :

[Image: F6mh0.jpg]

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?/$[L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$[L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php?/$[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.
Reply


Messages In This Thread
CodeIgniter project localhost to live server transfer - by s4dman - 04-28-2015, 04:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB