joomla中的htaccess重定向问题 [英] Htaccess Redirect issues in joomla

查看:82
本文介绍了joomla中的htaccess重定向问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我解决重定向问题。

Please help me with a redirect issue.

我正在尝试从 http://www.project/index.php/blog http:// www.project / blog

我尝试了以下操作,但没有成功

I tried the following but it did not work

RewriteRule ^(blog)$ ./index.php/ [L]         


推荐答案

如果要将请求的路径信息附加到 index.php ,则可以使用以下 RewriteRule

If you want to append the requested path info at index.php, you might use this RewriteRule

RewriteCond %{REQUEST_URI} !^/index\.php
RewriteRule ^ /index.php%{REQUEST_URI} [L]

这篇关于joomla中的htaccess重定向问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆