我工作在我的网站的htaccess。.htaccess双变量的问题
我有这片.htacess的:
ErrorDocument 404 /404.html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/([a-zA-z0-9]+)/([a-zA-z0-9]+).html$ index.php?lang=$2&seo=$1 [QSA,L]
RewriteRule ^/([a-zA-z0-9]+).html$ index?seo=$1 [QSA,L]
什么IAM与此的.htaccess看是这样的:http://mywebsite.com/en/test-page.html
insted的的http://mywebsite.com/index.php?lang=en&seo=test-page
承担数“恩”为“郎”和“测试页“as”seo“。
问题是,这会引发404错误。
有没有办法解决这个问题?
仍然收到404错误。 – Joscplan 2013-05-13 15:23:19