How do I get the category code to include itself in the product link from the category page? I've tried selecting the "Include Category Code" from the Product Links select and updating the CTGY page but it's not including the category code in the product link. I am also trying to use the URI Management - does something need to be changed there too?
Announcement
Collapse
No announcement yet.
CTGY Page Include Category Code in Product Links
Collapse
X
-
CTGY Page Include Category Code in Product Links
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Tags: None
-
Hi Leslie,
Unfortunately, when you are using URI Management, you can no longer pass the category code in the URL like you could with the Legacy SEO settings. If the product links are currently something like DOMAIN/category_code/product_code.html, then I would recommend setting URI Management to use the product code, generate all the canonical URLs, and add a basic redirect in the htaccess file to take care of the missing category code.
Code:# Redired old product links containing category codes to current product pages RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^([^/.]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=PROD&Product_code=$2 [L,NC,QSA]
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
- 1 like
-
Originally posted by Matt Zimmermann View PostHi Leslie,
Unfortunately, when you are using URI Management, you can no longer pass the category code in the URL like you could with the Legacy SEO settings. If the product links are currently something like DOMAIN/category_code/product_code.html, then I would recommend setting URI Management to use the product code, generate all the canonical URLs, and add a basic redirect in the htaccess file to take care of the missing category code.
Code:# Redired old product links containing category codes to current product pages RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^([^/.]+)/([^/.]+).html$ /mm5/merchant.mvc?Screen=PROD&Product_code=$2 [L,NC,QSA]
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
- 1 like
Comment
-
CorrectMatt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
- 1 like
Comment
-
I need to come back around to this - is this still the "correct" answer?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Hi Leslie,
To the best of my knowledge, it is.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
Comment