Routing a URL to a php argument

Holzwurm

New Member
i have a URL which i would like to re-route in the following manner:\[code\]example.com/H4tX\[/code\]to\[code\]example.com/game.php?id=h4tX\[/code\]for this i have the following .htacces file in the cgi-bin folder of my domain:\[code\]RewriteEngine OnRewriteRule ^([a-zA-Z0-9_]+)$ game.php?id=$1\[/code\]However, if i try to go to example.com/H4tX, the page cannot be found. Did i miss something here? htaccess pretty much gives no feedback at all :/Thanks, Thomas
 
Back
Top