Código:
localhost/beta/coupons.php?cat=promotions hacia ---> localhost/beta/coupons/promotions
Código:
Tengo este código en mi archivo .htaccesslocalhost/beta/coupons.php?city=ny hacia ---> localhost/beta/coupons/ny
Código:
El código sólo ejecuta la primera re escritura, la segunda no funciona <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /beta/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^coupons/([^/]*)$ coupons.php?cat=$1 [L] RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^coupons/([^/]*)$ coupons.php?city=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^coupons/([^/]+)/([^/]+)?$ coupons.php?cat=$1&city=$2 [L] </IfModule>

Ojala puedan echarme una mano que ando muy liado con estas sentencias.
Saludos.