Announcement

Collapse
No announcement yet.

CTGY Page Include Category Code in Product Links

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CTGY Page Include Category Code in Product Links

    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?
    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

    #2
    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

    Comment


      #3
      Originally posted by Matt Zimmermann View Post
      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]
      And if the store owner still wants the category code in the product URL? Use the Legacy SEO settings?
      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


        #4
        Correct
        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


          #5
          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


            #6
            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


              #7

              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

              Working...
              X