Código:
#Activar URL LIMPIAS
RewriteEngine On
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
#RewriteCond %{HTTPS} off
#Redireccion
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
#SUBDOMINIOS ALMACENES
RewriteCond %{HTTP_HOST} ^(.+).xxxxxxxxxx.com
RewriteRule ^([a-zA-Z0-9-_]+)$ almacen.php?id=$1
#URL LIMPIA DE LOS PRODUCTOS
RewriteRule ^producto/(.+)/(.+) producto.php?id=$1&nombre=$2


