I'm using NetBlazon SEO links for short links to the product and category pages which display as:
http://www.domain.com/product-code.html
http://www.domain.com/category-code.html
and am trying to integrate the product and category names into the URL so that it displays:
http://www.domain.com/product-name.html or category-name.html
I've been looking at this SEO Links tutorial and can't figure out how to put it together with the SEO Links module, as I have a very basic understanding of the rewrite rules...
In .htacess I have this, is it possible for them to interact:
http://www.domain.com/product-code.html
http://www.domain.com/category-code.html
and am trying to integrate the product and category names into the URL so that it displays:
http://www.domain.com/product-name.html or category-name.html
I've been looking at this SEO Links tutorial and can't figure out how to put it together with the SEO Links module, as I have a very basic understanding of the rewrite rules...
In .htacess I have this, is it possible for them to interact:
Code:
RewriteEngine On ### Begin - SEO Links RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)\.html$ /mm5/merchant.mvc?Screen=NBSEOLINK&thecode=$1 [L] ### End - SEO Links ### Begin - Tutorial RewriteCond %{REQUEST_URI} ^/p/(.*)/(.*) [NC] RewriteRule (.*)\.html$ /mm5/merchant.mvc?Screen=PROD&Product_Code=%1&Store_Code=TT [L] RewriteCond %{REQUEST_URI} ^/pc/(.*)/(.*)/(.*) [NC] RewriteRule (.*)\.html$ /mm5/merchant.mvc?Screen=PROD&Product_Code=%1&Category_Code=%2&Store_Code=TT [L] RewriteCond %{REQUEST_URI} ^/c/(.*)/(.*) [NC] RewriteRule (.*)\.html$ /mm5/merchant.mvc?Screen=CTGY&Category_Code=%1&Store_Code=TT [L] ### End - Tutorial
Comment