My htaccess code is : rewriteRule ^(.*).html$ show.php?w_link=$1 Code (markup): when i open www.domain.com/show.php?w_link=CraZyXYZ --> output is CraZyXYZ when i open www.domain.com/CraZyXYZ.html --> output is crazyxyz (this is wrong ; it must be CraZyXYZ) how must i write htaccess code?