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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:21:06+00:00 2026-05-20T11:21:06+00:00

I want to configure Kohana 2.x to have links in this format: http://localhost/mysite/web/admin/support instead

  • 0

I want to configure Kohana 2.x to have links in this format:

http://localhost/mysite/web/admin/support

instead of this:

http://localhost/mysite/web/admin/index.php/support

I removed the index.php from the config.php file ( $config['index_page'] = '';) and I added the following line in the .htaccess file:

RewriteRule ^(.*)$ /index.php?/$1 [L]

If you hover above a link you can see that the links are like I wanted them but there is always this error:

Not Found
The requested URL /mysite/web/admin/support was not found on this server

I don’t know how to change the configuration like I want to.

  • 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-05-20T11:21:07+00:00Added an answer on May 20, 2026 at 11:21 am

    Write following code in htaccess::

    RewriteEngine On
    
    RewriteBase /
    
    RewriteRule ^(application|modules|system) - [F,L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule .* index.php/$0 [PT,L]
    

    you can also change the config.php file to:

    $config['index_page'] = '';

    another one try

    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule !^index\.php index.php%{REQUEST_URI} [L]  
    

    try more solution then see
    How to set up .htaccess for Kohana correctly, so that there is no ugly "index.php/" in the URL?
    see also following tuts::
    http://kohanaframework.org/3.0/guide/kohana/tutorials/clean-urls

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

Sidebar

Related Questions

I want to configure this so that it doesn't restart automatically, but I have
I have my app that serves on localhost:8080. I want to configure things so
I have an xml file that I want to configure using a bash script.
I have developed a spring application, I want to configure it with apache log4j,
I've hired a new VPS and have root access. Now i want to configure
I want to ensure I have done all I can to configure a system's
NOTE: This question has been asked on the kohana forums at: http://forum.kohanaframework.org/comments.php?DiscussionID=6451 Hey everyone!
I have a simple problem: I want to configure an object differently based on
I want to configure openssl client-server to support TLS extensions specifically server name indication
I want to configure the adapter on Zend. I tried this: zf configure db-adapter

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.