Rewrite URL in PHP with mod_rewrite

Posted by Steven on Stack Overflow See other posts from Stack Overflow or by Steven
Published on 2010-03-17T08:59:37Z Indexed on 2010/03/17 9:01 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

The web server is Apache. I want to rewrite URL so a user won't know the actual directory. For example: The original URL: www.mydomainname.com/en/piecework/piecework.php?piecework_id=11 Expected URL: piecework.mydomainname.com/en/11 How to achieve it with mod_rewrite?

© Stack Overflow or respective owner

Related posts about php

Related posts about apache