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 7783451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T19:50:34+00:00 2026-06-01T19:50:34+00:00

So right now I have this in my .htaccess page: RewriteEngine On RewriteCond $1

  • 0

So right now I have this in my .htaccess page:

RewriteEngine On
RewriteCond $1 !^(index\.php|images|js|fonts|css|robots\.txt)
RewriteRule ^(.+)$ index.php?$1 [L]

which makes it so that I can access http://www.yourdomain.com/index.php/page by going to http://www.yourdomain.com/page. However what I can’t figure out is how to edit the page that shows up at http://www.yourdomain.com.

I’ve tried creating a controller called index, but this doesn’t do anything unless you go to http://www.yourdomain.com/index

Can anyone help with this? Thank you!!!

  • 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-01T19:50:36+00:00Added an answer on June 1, 2026 at 7:50 pm

    The default controller that loads when there are no url segments is defined in
    application/config/routes.php:

    From: http://codeigniter.com/user_guide/general/routing.html

    Reserved Routes

    $route['default_controller'] = 'welcome';

    This route indicates which controller class should be loaded if the
    URI contains no data, which will be the case when people load your
    root URL. In the above example, the “welcome” class would be loaded.
    You are encouraged to always have a default route otherwise a 404 page
    will appear by default.

    If there are no url segments besides the controller itself, by default the index() method of that controller is called (this is always the case, not just in regards to routing). So with this example you would look at the welcome controller and index method and see which view files etc. are being loaded.

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

Sidebar

Related Questions

I have a .htaccess file which right now looks like this: Options +FollowSymLinks RewriteEngine
right now I have this in my controller: def index @votes = Vote.paginate(:page =>
My htaccess right now: # Use PHP 5.3 AddType application/x-httpd-php53 .php RewriteEngine On RewriteBase
Right now I have this SQL query which is valid but always times out:
Here is the thing. Right now I have this e-commerce web site where people
Right now I have something like this in NHibernate: Expression.Like(property, value, MatchMode.Anywhere) and that
I have this code right now to get the row value from jquery grid..
I have this right now: <%= f.select :credit, (0..500) %> This will result in
Right now, I have this code where $obj_arr maybe contain array and an object.
Right now I have double numba = 5212.6312 String.Format({0:C}, Convert.ToInt32(numba) ) This will give

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.