RewriteEngine on # RewriteRule ^company/(.+)$ /company.php?page=$1 [NC] # RewriteRule ^(.+)/(.+)$ /song.php?artist=$1&song=$2 [NC]