olidev
olidev

Reputation: 20624

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

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?

Upvotes: 5

Views: 18970

Answers (2)

Dennis
Dennis

Reputation: 41

For me the solution was to TURN OFF Search engine friendly URL's.

After installing Joomla it was turned on. I already tried the above options. no result.

When hovering my mouse over the second menubutton I did not see the the php code to that article in the left lower corner of my browser but just mywebsite/folder1/folder2/

and not something like : index.php?options=com and so on.....

So I tried to switch OFF the Search engine friendly URL's after I already had the articles, categories and menu's. And it worked.

Upvotes: 4

jackJoe
jackJoe

Reputation: 11148

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:

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

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

  3. 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):

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

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

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

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

Upvotes: 2

Related Questions