CodeIgniter Forums
best way to ease CI into a large site - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: best way to ease CI into a large site (/showthread.php?tid=9118)



best way to ease CI into a large site - El Forum - 06-12-2008

[eluser]skattabrain[/eluser]
quick question ... any ideas on how to gradually introduce CI into an existing large site?

Ultimatly, i want the site 100% CI, but I have several todo's lined up. 1 of which is a new directory with sales pages. these will be optimizes for selling landing pages (liek that which you'd run your google adwords under.

so those special pages go into a subdirectory, let's call it /landingpages/

should i put my system folder in that directory and end up with 2 or 3 CI system folders? yuk.

or place system at the www root and do no htaccess tricks until the main site is live. thoughts?

we have lots of stuff going on, i need these pages now, but the site overhual is a month away.


best way to ease CI into a large site - El Forum - 06-12-2008

[eluser]skattabrain[/eluser]
what about this ... it seems to work

system direcory on the root ... and my $config['index_page'] is set to ""

.htaccess file ...

Code:
RewriteEngine on
RewriteRule ^welcome/(.*)$ my-temporary-ci-default-page.php/$1 [L]


so i this seems to be behaving and working. any ideas on this? i guess what i'm looking for is to prevent any "gotchas" down the road.