Tree Example (replace the "yourdomain.com" with your actual domain) This example will work if you have Miva Merchant with a single storefront in the domain. Also, you need to make sure there are no / characters in the category name if you are going to display it in the url like these links below.
&mvt:child1:name; &mvt:child1:name; (&mvt:global:CimCatCount;) +
   &mvt:child2:name; &mvt:child2:name; (&mvt:global:CimCatCount;) +
     &mvt:child3:name; &mvt:child3:name; (&mvt:global:CimCatCount;) +
       &mvt:child4:name; &mvt:child4:name; (&mvt:global:CimCatCount;) +
       &mvt:child5:name; &mvt:child5:name; (&mvt:global:CimCatCount;) +

&mvt:parent:name; (&mvt:global:CimCatCount;) +
.htaccess file example (replace the "yourcode" with your store's code) RewriteEngine On RewriteCond %{REQUEST_URI} ^/p/(.*)/(.*) [NC] RewriteRule (.*) /mm5/merchant.mvc?Screen=PROD&Product_Code=%1&Category_Code=&Store_Code=yourcode [R,L] RewriteCond %{REQUEST_URI} ^/pc/(.*)/(.*)/(.*) [NC] RewriteRule (.*) /mm5/merchant.mvc?Screen=PROD&Product_Code=%1&Category_Code=%2&Store_Code=yourcode [R,L] RewriteCond %{REQUEST_URI} ^/c/(.*)/(.*) [NC] RewriteRule (.*) /mm5/merchant.mvc?Screen=CTGY&Category_Code=%1&Store_Code=yourcode [R,L]