次のような URL を書き換えることは可能ですか。
http://www.domain.com/?language=en
http://www.domain.com/contact?language=en
に:
http://www.domain.com/en/
http://www.domain.com/en/contact
私がこれまでに持っているもの:
RewriteEngine on
RewriteRule ^([^/]+)/([^/]+)/?$ index.php?language=$1 [QSA,L]
http://www.domain.com/en/ <- Gives a server not found error
http://www.domain.com/en/contact <- Goes to the main root (/index.php) and give the en variable