1
我在我的htaccess的重定向之前我就海基会swicth这完全在的Joomla网址的Joomla htaccess的重写规则问题
重写规则^ M /(.*)/index.php?option=com_seemail &视图=邮件& GUID = $ 1 &的itemid = 102
然而,当我在两会URLS切换则不再起作用 - IM定向到/ home /未分类/欢迎而不是
这是我的htaccess:
RewriteEngine On
RewriteRule ^m/(.*) /index.php?option=com_seemail&view=mail&guid=$1&itemid=102
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^apply$ /index.php?option=com_loans&view=apply&Itemid=102 [R=301,L,QSA]
RewriteBase/
DirectoryIndex index.php
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
任何人都可以帮忙吗?基于上面的代码行
嗨,那里,谢谢你的回复,但重定向工作正常 - 它的RewriteRule^m /(.*)一个不! tnx – user1745467 2013-02-23 20:51:52
你可以引用一个在sef开启之前为RewriteRule^m/(.*)工作的url的例子吗? – 2013-02-24 19:15:06
嗨这个网址工作:m/7af625e8215d31b0298b8699db6c7761(这是重定向到index.php?option = com_seemail&view = mail&guid = 7af625e8215d31b0298b8699db6c7761&itemid = 102 - 但现在它不起作用!tnx – user1745467 2013-02-28 09:09:12