i've got urls this:
http://example.com/foo/bar/de/ http://example.com/foo/bar/en/
which rewrite rules have use load url before last "folder" (http://example.com/foo/bar/
) , "folder" parameter (e.g. lang=de
)
i figured out:
rewriteengine on rewriterule ^language/(.*)$ index.php?l=$1
now can open urls http://example.com/foo/bar/language/de/ browser loads http://example.com/foo/bar/index.php?l=de
Comments
Post a Comment