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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:47:15+00:00 2026-06-18T08:47:15+00:00

I am working on website on which under the root, i have under construction

  • 0

I am working on website on which under the root, i have under construction page. I have upload the files for the new site in folder newsite, which is in the root directory.

I use .htaccess file to remove the index.php from the domain.

If i type http://www.somesite.com/newsite, or http://www.somesite.com/newsite welcome controller is displayed. So far, so good.

I have back office administration system, and when i type:
http://www.somesite.com/newsite/folderName/controllername/functionname i get 404 error.

folderName is the name of the folder in which controllers for the back office are placed. Anyone have any idea why i get this error for the back end only, while the front page is working?

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

php_value post_max_size 20M
php_value upload_max_filesize 20M
php_value max_execution_time 6000000

If I add index.php in the url for the back office like this
http://www.somesite.com/newsite/index.php/folderName/controllername/functionname

Then the page is displayed.

Regards,Zoran

  • 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-18T08:47:16+00:00Added an answer on June 18, 2026 at 8:47 am

    After adding the

    RewriteBase /newsite/ in the .htaccess, page is displayed, and now works like a charm.

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

Sidebar

Related Questions

I am working on a website on which we have use parallax effect. In
I have javascripts folder under root folder , its all workig fine till now.
I'm working on an ASP MVC website and have encountered a problem. The page
I'm working on a website which uses Django templates, and I have to produce
I am working a website which is deployed on a Linux server. I have
I am working on a website which needs to work across multiple browsers unfortunately
I am working on a website which needs to be responsive. I want to
We are working on a website which is small but it use Flash Navigation,
I'm working on a website which has advert banners which link to external pages.
i am working on a website which deploy on web farms to serve high

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.