【问题标题】:Not apply rewrite in a Joomla subdir不在 Joomla 子目录中应用重写
【发布时间】:2012-01-30 03:05:52
【问题描述】:

我在我的根目录中安装了 Joomla(抱歉),现在我需要在我的网站中安装一个 Wordpress。 然后我在我的 Joomla 目录中创建一个名为“blog”的子目录。 在那之前它还可以,因为 mysite.com/blog 正在工作。 但是当我点击一些帖子时,我得到了一个 Joomla 错误。 好像 Joomla 中没有那个页面。

我能做什么? 我正在考虑我的 htaccess 中的一条规则,以不影响整个子目录“博客”。 但我不知道该怎么做。 有人可以帮我吗?

【问题讨论】:

    标签: wordpress .htaccess mod-rewrite joomla


    【解决方案1】:

    在 Joomla 规则上方添加RewriteRule ^blog - [L]

    【讨论】:

    • 你读过我的回答吗?我说要把它放在 joomla 规则之上。所以如果你把它放在文件的末尾它就行不通了。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-05-28
    • 1970-01-01
    • 1970-01-01
    • 2016-04-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多