Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9154829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:29:31+00:00 2026-06-17T12:29:31+00:00

I try to use Codeigniter in localhost with WAMP. Problem is, that I can

  • 0

I try to use Codeigniter in localhost with WAMP.
Problem is, that I can open just basic function in basic controller, and when I tried to use root like site/controller/function, its do not work. Result is that it put me back to wamp start page, or text that page not found.

Mostly I found solutions about makingthe .htaccess file, and many variations what to put in it.
To uncomment rewrtie mod in wamp .conf file. And in my web page to leave index_page empty.

But It do not work for me.

My controller:

class Home extends CI_Controller {

    function index() {

            $this->load->view('index');
            }

    function slide() {

            $this->load->view('slider');
            }
 }

And my web page is in: www/mysite/….

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:29:32+00:00Added an answer on June 17, 2026 at 12:29 pm

    Try this .htaccess

    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteCond $1 !^(index\.php|indexcp\.php?|resources|robots\.txt)
    RewriteRule ^([A-Za-z0-9_/.-]+)$ index.php?$1 
    
    RewriteRule ^(CSI) index.php?/CSI
    AddType text/x-component .htc
    

    EDIT

    Add the above code here

    enter image description here

    Don’t change any thing in CI system..

    Once check this repo

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Codeigniter, when we use $this->load('class_name') in the controller, CI will try to create
I try to use a variable in my kshell script but can't get a
I use CodeIgniter as my web application framework. I used a simple Try/Catch and
How can i create a main page with codeigniter? That page should contain a
I have a problem with Automapper when I try use custom resolver which uses
I want use of switch and case in php and codeigniter library, i try
I have a problem with utf-8. I use the framework Codeigniter. For a client
I have a codeigniter app that makes extensive use of sessions, specifically using database
I'm looking to try and use codeigniter with different domains all using the same
I use Codeigniter framework , and you know when I try to load a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.