Joomla index.php page is automatically redirected with "not found" error

joomla

Solution

After reading all your comments, I can give this suggestion:

Knowing that the previous server wasn't an IIS, and when you said it was in a Linux, probably it was an Apache server, then follow these steps:

Enter the administration area by going to http://sub.domain.com/administrator/

Select "Global Configuration", and select the "Site" tab;

Go to the right column and in the "Use URL rewriting" select "no".

If you don't have more than one language, you can do the following (in this example, the English language will be the default):

(in the administration area) Go to the menu "Extensions" and select "Language Manager", go to the "Installed - Site" tab;

Select (click in the checkbox) the english language and click "Default" (this assumes that there are more than one language in this screen).

Go to the menu "Extensions" and select "Plug-in Manager";

Select "System - Language Filter", and disable it.

Problem

I am trying to copy a joomla website to a sub domain of a website: http://sub.domain.com. Database and everything seems fine. When I access http://sub.domain.com, the website is automatically redirected to: http://sub.domain.com/en/index.php and the error is: ``` The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found. Internet Information Services (IIS) Technical Information (for support personnel) Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. ``` Yes, I deploy the joomla site on an IIS server but I am sure it is running both for php as well as asp.net. Any idea about this auto-redirection and how can I solve this?

Original source