Rewriting URLs and "faking" folders

Posted by ct2k7 on Stack Overflow See other posts from Stack Overflow or by ct2k7
Published on 2010-03-11T16:43:05Z Indexed on 2010/03/11 17:29 UTC
Read the original article Hit count: 245

Filed under:
|

Hi, I'm trying use mod_rewrite to rewrite URLs from the following:

http://www.site.com/one-two-file.php 

to

http://www.site.com/one/two/file.php

The folders don't exist, but "virtually" exist for the rewriting purpose.

What rule do I used in this?

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about url-rewriting