Editing .htaccess for multiple parameters and pages
With your shown samples, please try following rules set in htaccess file. Please make sure your htaccess file is present in root folder/directory.
Also make sure to clear your browser cache before testing your URLs.
RewriteEngine On##Blocking direct access to fixture.php here, added NC flag here.RewriteRule ^fixture\.php$ - [NC,L]##Rules for handling 4 parameters in uri.RewriteRule ^([^/]*)/([^/]*)/(\d{4})/\d{3}/?$ /fixture.php?country=$1&cup=$2year=$3&id=$4 [L,QSA] ##Rules for handling 2 parameters in uri. RewriteRule ^([a-zA-Z]{2})/([^/]+)/?$ /fixture.php?country=$1&cup=$2 [L,QSA]##Rules for handling 1 parameter in uri.RewriteRule ^([^/]*)/?$ /fixture.php?id=$1 [L,QSA]