Developer forum

Forum » Ecommerce - Standard features » re-issued product with same name creates duplicate in url index

re-issued product with same name creates duplicate in url index

Andrew Rushworth
Reply

Hi,
Dynamic Web 9.17.7
We have a situation where a product gets re-issued with a new sku, but same name.
For example:
"My Product Name" gets created with SKU 000001
then gets made redundant, therefore it gets deactivated in DW.
After some time, the product gets re-issued with the same name but different product code: "My Product Name" with SKU 000001

The problem is that now we have:
/products/my-product-name (inactive)
and
/products/my-product-name-1 (active)
in the url list.

The sitemap though only has the active product in it with link:
/products/my-product-name

So now the link i google is going to the (inactive) product = 404

What are the options, other than deleting the old product?

 


Replies

 
Andrew Rushworth
Reply

Ok, i've found a solution, but not sure if there is a way to do this in the front-end:
If i set the following fields in the database, and refresh the url cache, then the product does not return in the url list:

ProductShowInProductList = 0
ProductExcludeFromIndex = 1
ProductExcludeFromCustomizedUrls = 1

 

You must be logged in to post in the forum