• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Need a hand with mod_rewrite

#1
I have folders on my website, www.example.com/folder/name/file.php which is the default address. However I want to have it rewritten to name.example.com/file.php so it looks a little cleaner in the url. I'm only assuming mod_rewrite is the proper way to do this, so any help would be greatly appreciated.