2012-07-18 147 views
5

我想将joomla网站复制到网站的子域名:http://sub.domain.com。数据库和一切似乎都很好。当我访问http://sub.domain.com,该网站将被自动重定向到:http://sub.domain.com/en/index.php和错误是:Joomla index.php页面会自动重定向到“未找到”错误

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. 

是的,我在IIS服务器上部署的Joomla网站,但我相信这既用于运行PHP和ASP 。净。

有关此自动重定向的任何想法,我该如何解决这个问题?

+0

它是Joomla 2.5吗?每种语言都需要有一个家,这可能是问题... – jackJoe 2012-07-18 20:59:40

+0

@jackJoe我跟着这个http://interhindachings.com/check-current-joomla-version/检查我的joomla版本,但没有版本。PHP里面joomla? – olidev 2012-07-18 21:20:05

+0

有两个问题:在将其移至子域之前是否有效?你能登录到管理员吗? (http://sub.domain.com/administrator)我的猜测是文件丢失... – jackJoe 2012-07-19 09:16:37

回答

2

阅读您的所有意见后,我可以给这个建议:

知道,以前的服务器不是一个IIS,当你说这是在Linux,或许这是一个Apache服务器,然后按照下列步骤操作:

  1. 前往http://sub.domain.com/administrator/

  2. 选择“全球配置”回车行政区域,然后选择“网站”选项卡;

  3. 转到右侧栏并在“使用URL重写”中选择“否”。

如果没有一种以上的语言,你可以做以下(在这个例子中,英语将成为默认):

  1. (在管理区域)转到菜单“扩展”并选择“语言管理器”,进入“已安装 - 站点”选项卡;

  2. 选择(在复选框中单击)英语,然后单击“默认”(假定此屏幕中有多种语言)。

  3. 转到菜单“扩展”并选择“插件管理器”;

  4. 选择“系统 - 语言筛选器”,并将其禁用。

+1

你刚刚救了我的一天,非常感谢。 – 2016-01-05 15:05:33

4

对我来说,解决方案是关闭搜索引擎友好的URL。

安装Joomla后,它已打开。我已经尝试了以上选项。没有结果。

将鼠标悬停我的鼠标移动到第二个菜单按钮,我没有看到的PHP代码到我的浏览器的左下角那篇文章只是mywebsite /资料夹/文件夹2/

,不一样的东西:指标。 php?options = com等等.....

所以我试着在我已经有文章,类别和菜单后关闭搜索引擎友好的URL。它的工作。