Developer forum

Forum » Templates » Productlist link problem

Productlist link problem

Peter Bille Larsen
Reply
Hi.

In our shop we have a productlist with 2000 products. When we click the product on the productlist the URL is:

Default.aspx?ID=6&GroupID=GROUP22&ProductID=Z14358

 

But when the page renders the URL it returns is:
 

/badekar/duravit-2nd-floor-whirltub-1600x700mm-1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45.aspx

 

Support says that it could be a custom script, but we don't have any scripts, which changes URL's. We only have custom scripts, which updates product prices, stock and so on, from a CSV file.

Has anybody any idea what could trigger this?
 

 


Replies

 
Martin Nielsen
Reply
I'm experiencing this problem aswell, and i'm interested in a fix aswell.

We have no modules that tamper with the URLs..

I can forward examples if needed.

Regards
 Martin 
 
Peter Bille Larsen
Reply

Hi Martin

How many products do you have in that category?

 
Nicolai Høeg Pedersen
Reply
I'd like a URL...
 
Peter Bille Larsen
Reply
Hi Nicolai

XXURL REMOVED

click on a product below count of 20.

(I might remove the URL when you have looked at it, so the SEO dudes dont see a refering).
 
Peter Bille Larsen
Reply

Hi,

does anyone have any news about this?

//Peter
 
Dmitry Nikolenko
Reply
This post has been marked as an answer
 Hi Peter,

I suppose it happens because you have many products with not unique names and you are using customized urls. So, Dynamicweb could not create correct unique url for each product (names not unique) and Dynamicweb adds some unique information in tail of generated url.
Votes for this answer: 0
 
Peter Bille Larsen
Reply

Hi Dmitry

That was the error. I have tested it in a sandbox, and two unique productname gives the problem.
 
Peter Bille Larsen
Reply

I have told the client not to have equal name on products. So case closed.

BTW, it is really easy to tell the client not to have equal names, because the equal name will instantly trigger the feared duplicate content on Google if the titles and descriptions are also equal, so thats heavy argument.
 
Martin Nielsen
Reply

It's great that DW makes sure that no product URL is the same, but i think how it's done should be tweaked a little.

On my solution i get this url:
/shop/products/dancers-on-sq.-mod-1-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36.aspx?PID=143

Shouldn't the url be:
/shop/products/dancers-on-sq.-mod-36.aspx?PID=143

All the other numbers aren't used for anything.

Regards
 Martin

 

 

You must be logged in to post in the forum