prueba asi:
Código Apache:
Ver originalRewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
RewriteRule ^work/([a-zA-Z0-9_-]+)$ index.php?ty=$1 [L]
recibelo como:
Código PHP:
Ver original$ty = "";
$ty = $_GET['ty'];
}
echo $ty;