Hi there i was wondering if its possible to use a url parameter as a folder in the url dynamically? for example convert the following www.thattamilsong.com/song.php?song=songName to www.thattamilsong.com/song/songName with out actually creating the folders... if you know how this can be done pls let me know? Thanks Cheers!!
Hello, yes it´s posible. 1. Create on your root directory file .htaccess (Yes, the file must contain a (dot) at the beginning) 2. Write to .htaccess file this : RewriteEngine on RewriteBase / RewriteRule ^song/([^/]+)/?$ song.php?song=$1 and now, when you use /www.example.com/song/(best-song-ever)/ you get the same thing as that you use /www.example.com/song.php?song=best-song-ever/ Sorry for my english but I hope that i helped. If you get more info about url rewriting you can use google with keywords "cool url", "htaccess mod rewrite", "clean url htaccess"...etc Rogue