Developer forum

Forum » Swift » Product URL
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hey, 

Still not sure if a setting is causing this, but the database is a copy of production so should have the same settings. 

On production the URL's to products are for example: https://mountainbikemuseum.nl/mountainbikes/kirk-revolution-474

On the dw10 test site it is : https://testing.mountainbikemuseum.nl/mountainbikes?ProductID=ITEM474

It does seem the correct URL's are in the index, so might be a Swft thing I guess?


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Nope.

You have attached the URL provider to several pages on the same website and that is usually not a good idea. In this case your detail page also have URL settings, which it should not have.

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

It is fixed now, somehow the setting kept reverting back to "Include: Groups" instead of "Include: Groups, Products" 

Also I removed the URL provider from the detail page. 

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi, 

This issue keeps popping up, also on other sites. The URL provider setting keeps reverting back to "Include: Groups" when I then select "Groups, products" and hit save and close, and re-open the page, the setting still shows "Groups, products" buit the URL's give a 404.

When I then recycle the application pool the setting is reverted to "Groups"

I managed to fix it by alternating between save and close. and save, and resetting the apppool to make sure the setting stays on the selected one after the reset. I checked all my settings, but I think these are stored on a "special place" so that rules out any config file?

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Justin,

Good catch! Actualy, the issue is actual for all options under "URL provider" but not only for "Include" group on DW10. I've created task #17050 to fix it. Thanks for finding.

BR, Oleg QA 

 

You must be logged in to post in the forum