How to make a CodeIgniter project portable with redirects
- by Jono
I would like to set up my codeigniter projects so I can use it in any folder on my webserver. Unfortunately codeigniter requires me to specify the location in several variables of the config. This is a problem for portability.
There are 3 places where I see this:
1) $config['base_url']
2) $config['base_path']
3) .htaccess RewriteRule
So far,…