How to make a better URL with .htaccess and multiple parameters?

Posted by Landitus on Stack Overflow See other posts from Stack Overflow or by Landitus
Published on 2010-04-23T13:19:25Z Indexed on 2010/04/23 13:23 UTC
Read the original article Hit count: 177

Filed under:
|
|

I have a very long a unfriendly URL an I'm looking to make SEO better for the site:

http://www.site.com/sub-site/index.php?page=nameofpage&locale=en_EN

I would like to have this instead: http:// www.site.com/sub-site/en/nameofpage

all the URLS are hard coded in the links in the form of:

<a href="index.php?page=nameofpage&locale=en_EN">link</a>

What is the best way to achieve this?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about seo