URL rewriting in .htaccess

Posted by Steven on Server Fault See other posts from Server Fault or by Steven
Published on 2010-03-20T00:39:46Z Indexed on 2010/03/20 0:41 UTC
Read the original article Hit count: 744

Ugly URLs: www.domainname.com/en/piece/piece.php?piece_id=1 www.domainname.com/en/piece/piece.php?piece_id=2 www.domainname.com/en/piece/piece.php?piece_id=3 ... Friendly URLs: piece.domainname.com/en/1 piece.domainname.com/en/2 piece.domainname.com/en/3 ...

I want to present website users only friendly URLs. How to do it? Do I have to use RedirectMatch, if so, how to do it?

© Server Fault or respective owner

Related posts about url-rewriting

Related posts about apache