mod_rewrite – Part 3: build your own “fantasy” URL

mod_rewrite tutorial: In this tutorial, I will show you how to make “bestethnic.html” to instead “product.php?id=3”. Before you read, make sure you have understood part 1 and part 2 from this series.

Assume, you work on www/product (it root folder for http://www.yoursite.com).

Ok, folow this steps: Continue reading

Advertisements

mod_rewrite – Part 1: create your “fantasy” URL

“Hey, guys! I just hear a fantastic ethnic music at blablabla.com/?cat=312&id=e0347&p=93447”, talk Aya to her friends.

mmm… its hard to say (and remmember) that URL. I am sure, you will agree with me. How about if Aya say like this, “Hey, guys! I just hear a fantastic ethnic music at blablabla.com/bestethic.html”.

Yes, you can made ‘fantasy’ URL to instead of dynamic URL. Continue reading