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

  • Home
  • SEARCH
  • 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 8864277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:12:10+00:00 2026-06-14T16:12:10+00:00

I am developing a shopping cart site using Codeigniter Gocart script. I hid index.php

  • 0

I am developing a shopping cart site using Codeigniter Gocart script. I hid index.php using htaccess. When I try to login using localhost/project143/secure/login, it works fine and goes to login page. But when I try the login link in live as hostname/projects/project143/secure/login, it redirects to home page instead of login page.The login page with index.php in the URL (http://hostname/projects/project143/index.php/secure/login) is opening login page well. I’ve attached the screenshot of my issue and redirection code for clarification. Anyone knows this issue and fix ?

.htaccess

    RewriteEngine on
    RewriteBase /projects/project143/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond $1 !^(index\.php|assets|uploads|robots\.txt)
    RewriteRule ^(.*)$ index.php/$1 [L]

Home Page:
enter image description here
Login Page with index.php included in URL:
enter image description here
Login Page without index.php in the URL:
enter image description here

  • 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-14T16:12:12+00:00Added an answer on June 14, 2026 at 4:12 pm

    Here it is solution
    How to remove "index.php" in codeigniter's path

    Try user unicorn’s answer.it will work.

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

Sidebar

Related Questions

PHP newbie here. I'm currently developing a shopping cart web site using PHP and
I'm developing a website (with a shopping cart) on top of Codeigniter, and want
Im developing a codeigniter based ipn handler script for my shopping app. It seems
we are developing an online shopping site and we are using Australia Post as
I'm developing a shopping cart system for a client using Joomla! 1.5 and VirtueMart
I'm developing a java EE web app using JSF with a shopping cart style
I am developing a custom shopping cart for which existing customers will need to
I am developing an app with a shopping cart. When I add a product,
I'm looking to develop a good shopping cart to my new store site. I
I am currently using Visual Studio 2008 on XP Pro SP3. Developing against http://localhost/

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.