I’m sure this is something simple, but no matter what I do it seems I break my file. With that said, what I am trying to do is use mod_rewrite to setup a bilingual website. I’m going to be using $_Get to define the language. I am then planning on using mod_rewrite to make at a little more SEO friendly. So instead of having every page like this: http://www.shiningashes.net/index.php?lg=en or http://www.shiningashes.net/support.php?lg=en I want the site to be like http://www.shiningashes.net/en/support. So how can I get is so that mod rewrite breaks down the url into chunks and rebuilds it? (http://www. Root domain / language / file-directory name)
Share
Enable mod_rewrite and .htaccess through
httpd.confand then put this code in your.htaccessunderDOCUMENT_ROOTdirectory: