Join the Stack Overflow Community
Stack Overflow is a community of 6.5 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

my website has dynamic pages such as

http://www.example.com/index.php?layout=category&category_name=shoes&subcategory_name=sport

I want to remove or hide query string variable from url and display as

http://www.example.com/shoes/sport

Can't write the rule QUERY_STRING with eliminating LAYOUT=CATEGORY. Any thoughts on how to do this? Thanks in advance!

share|improve this question
1  
You will need to make sure the web-server knows what to do with the new urls (use mod_rewrite for that) and in your application you will need to make sure you create the correct (new-style) urls. – Dekel 2 days ago
1  

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.