# Product change category redirect

**URL:** <https://forum.litium.com/t/product-change-category-redirect/2373>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [December 29, 2021, 12:31pm UTC](https://forum.litium.com/t/product-change-category-redirect/2373 "2021-12-29T12:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![totte.perera](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@totte.perera](https://forum.litium.com/u/totte.perera)\
**Post date:** [December 29, 2021, 12:31pm UTC](https://forum.litium.com/t/product-change-category-redirect/2373/1 "2021-12-29T12:31:35Z")

</div>

When changing a category for products with the field template “products with variant in a list” the redirect is not working.

The redirect are working for other field templates.

Template: Products with variant in a list  
/oldcateogory/product - 404

Template: Any other template  
/oldcategory/product - 301 to new category

How does Litium keep track of these changes? And why is it not working for all the templates?

I can’t find anything relevant in the log.

Litium version: 7.7.1

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [December 29, 2021, 1:52pm UTC](https://forum.litium.com/t/product-change-category-redirect/2373/2 "2021-12-29T13:52:30Z")

</div>

The key difference for that template is that the URL is on the base product, where as for the others the URL is instead on the variant. Litium will try to resolve the correct URL for the entity while processing the request and if it finds a new URL for the entity that’s different from the request URL it will issue an redirect.

But this doesn’t seem to work correctly for base products. Can you report a bug on Docs, please?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [January 26, 2022, 1:52pm UTC](https://forum.litium.com/t/product-change-category-redirect/2373/3 "2022-01-26T13:52:35Z")

</div>

Closed on January 26, 2022, 1:52pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
