Take the 2-minute tour ×
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It's 100% free, no registration required.

I am creating an application in which I want administrator functionality runs from different controller and it is in controller(backend.php) in administrator folder in controller folder. But when I run url(http://mysite.com/administrator/backend/method-name) is not open but url(http://mysite.com/index.php/administrator/backend/method-name) is working I want to remove index.php from url when I run adminstrator url But currently I have problem.

Thanks.

share|improve this question
1  
This question appears to be off-topic because it is about pure CodeIgniter, but not ExpressionEngine. –  Max Lazar Dec 10 '14 at 10:38

1 Answer 1

1). EE is a CodeIgniter application and overrides the routing to the ee controller. To merge/use a custom application, you have to enable routing again. For to be able to update EE with less hassle, it is probably better to not merge a large app with libraries, helpers and controllers inside the ExpressionEngine directory. You can install/create your app in its own sub-directory, and set APPPATH accordingly.
- The manual is a good start: Further https://ellislab.com/codeigniter/user-guide/
- See also this answer on StackOverflow Expression Engine Controllers

2). If you also want to make use of EE functionality (members, backend-layout, etc.), and have a more tight integration in the backend control panel, you can develop an add-on. Extensions are class-methods that are called from certain points in other libraries, to alter data or do their own stuff, Modules are more or less standalone mini-apps inside EE. See the development manual
https://ellislab.com/expressionengine/user-guide/development/index.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.