CodeIgniter on exisiting site

#1
[eluser]emperius[/eluser]
Hello!

I have already made site and I want to use CodeIgniter only for new pages.
How can I do this?

#2
[eluser]ztinger[/eluser]
Is perfectly doable Wink

Just start by reading the User Guide.

#3
[eluser]emperius[/eluser]
I\'ve read the user guide

but i didn\'t find out ho to do this

I was trying to remove default controller and etc.

If you know where can i read about this please give me a link

#4
[eluser]esra[/eluser]
If your existing site does not use authentication (user accounts) and sessions, the simple answer is to provide links in the navigation system of the existing site to the CodeIgniter application and links on the navigation system of the CodeIgniter application to the existing site. This is usually done via a menu system. If the existing site uses authentication and sessions, you either need to adapt the existing site to use CodeIgniter code for handling authentication and sessions or vice versa.

However, you would be better off converting the existing site to CodeIgniter\'s MVC architecture if nothing else as a learning experience.

#5
[eluser]emperius[/eluser]
[quote author=\"esra\" date=\"1182508413\"]If your existing site does not use authentication (user accounts) and sessions, the simple answer is to provide links in the navigation system of the existing site to the CodeIgniter application and links on the navigation system of the CodeIgniter application to the existing site. This is usually done via a menu system. If the existing site uses authentication and sessions, you either need to adapt the existing site to use CodeIgniter code for handling authentication and sessions or vice versa.

However, you would be better off converting the existing site to CodeIgniter\'s MVC architecture if nothing else as a learning experience.[/quote]

When I trying to use codeigniter the index page moves to default controller. I cant use as index existing index.php file.

I don\'t know how to include codeigniter files and use codeigniter for new pages only with the current index.php file.

unfortunately I can\'t convert existing files into codeigniter MVC because almost all the pages have already google page rank and if I change links to pages it will be bad for

#6
[eluser]frenzal[/eluser]
just make a 301 redirect for existing pages to the new CI pages and google will keep the pagerank

#7
[eluser]emperius[/eluser]
But still maybe someone knows how I can leave index.php file as is and add new controllers and etc?
Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.