Joomla |启用S​​EF会删除index.php,但会返回404页面。页面通过index.php / page可见。怎么修?

时间:2013-02-05 16:35:52

标签: joomla-sef-urls

我正在运行Joomla 2.5.8并且我正在尝试删除愚蠢的index.php,因此拥有SEO友好的URL。然而..当启用并重建'菜单时,当我点击一个菜单项时,该站点转到没有/index.php/的页面但是它返回404页面。但是,当我在域和页面之间手动键入/index.php/时,我会看到正常的页面。

一些注意事项

  

我将htaccess.txt更改为.htaccess

I removed the '#' before RewriteBase /

I added 'cms' to the directory path (RewriteBase /cms ) Since Joomla is in the /cms folder

However, the htaccess is in the SAME folder as Joomla itself, they both lie in a subfolder

In the root folder, where a different website is stored, there also lies a .htaccess file

有什么建议吗?

谢谢!

1 个答案:

答案 0 :(得分:-1)

听起来你的配置还可以。 带有RewriteBase / CMS的htaccess应该位于/ CMS文件夹中。 在Joomla中,您应该启用sef规则并启用mod_rewrite选项。

这可能只是一个缓存清除问题。