Options +FollowSymLinks
ServerSignature Off

RewriteEngine On
RewriteRule ^store\/(.*) showportfolio.php?artistid=$1 [L,NC]
RewriteRule ^stores\/(.*) showportfolio.php?storename=$1 [L,NC]
RewriteRule ^store(.*) - [L]
#RewriteRule ^([_A-Za-z0-9-]+)/([_A-Za-z0-9-]+)$ productdetails.php?productid=$1 [L]
RewriteRule ^([_A-Za-z0-9-]+)([_A-Za-z0-9-/]*)([_A-Za-z0-9-/]*)([_A-Za-z0-9-/]*)([_A-Za-z0-9-/]*)$ productdetails.php?productid=$1 [L]