you showed me how to redirect depending on cookie,thank you very much,but I still have problem with this rewrite rule:
- Code: Select all
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_COOKIE} ^(.*;\ )?(lang=(en|tw|cn))(;\ .*)?$ [NC]
RewriteRule ^(.+)$ /$1_%2 [QSA,L]
the problem is, when my html page containts image,js or css,they are not able to display,do you have any suggestion?