Hot answers tagged htaccess
As I understand, you want requests for the following URL website.com/games/271/game-name-here to be handled by games.php For this, you may use a simpler rule. RewriteRule ^games/(.*)$ /games.php?var=$1 [L] This will send all requests with /games/ to games.php. For e.g. /games/271/game-name-here will go like this /games.php?var=271/game-name-here Now, ...
Only top voted, non community-wiki answers of a minimum length are eligible