Developer forum

Forum » Dynamicweb 10 » Plans to change URL management in DW10?

Plans to change URL management in DW10?

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I would like to know if there are any plans to change how URLs are handled in Dynamicweb 10 at some point?

 

The question comes from having to deal with some customers which wanting/needing to make changes to their URLs, becomes a challenge to set 301's and/or foresee the impact.

 

For example, Winnebago launched before there was even the URL Provider, so still using Customized URLs. Now planning to clean up the URL settings (moving to the URL Provider), we need to get a list of all URLs and set up 301 redirects because of marketing campaigns and bookmarked URLs over the years.

When it's a brand new project, that becomes a simple decision, but when supporting a customer that's going on for years and has multiple sites, a simple change like that has a big impact, because it's all generated on application start and stored in memory.

 

I am wondering if in the future there would be a better way to handle this? In my mind I envision that a simple change of a product name or ecom group (both of which could/can impact URLs), based on some setting of sort, any "old" URLs could be auto-saved and 301 redirects created.

 

I can see how this is complicated for DW currently, since the URLs are managed in memory, instead of being stored in a table in the database, where some backups and/or SQL manipulation could more easily handle the 301s.

 

For now we need to use something like Google Analytics to get a sense of URLs that could be impacted, before updating group/product names. It can be done, but can be a bit intensive depending on the volume of changes we need to do.

 

Best Regards,

Nuno Aguiar


Replies

 
Suzi Louring
Reply

+1

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

+1

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Lets say you have 1 mio products - not an uncommon scenario, and someone changes the root page, i.e. products to produits or whatever.

Should we then record 1 mio records to the table? And then you rename it again - and record another 1 mio records? Or what are your thoughts?

What would be the decision parameters to put data into this table automagically? What about imports? Should we make checks for each record coming in and see if something should be changed?

I can easily make this feature. In a few days you would have an unbelievable amount of data inside that table. In a few weeks it would take quite some time to change a name of a product because we need to go through an extreme amount of history data to see how many urls a given resource have had...

The feature sounds great and would work nicely for 100 pages and 100 products. But that is never the case...

But here is what we could do - we could go away from /name/group/product to /product-name?id=prod123 and it would work forever without recording history and Google would be equally happy. This is how Amazon handles this.

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Nicolai,

 

Good point. I haven't thought of the pages situation. It's tricky for sure. I see the paradigm to introduce a feature can be be buggy and lead to issues, and I also see how some of the conversations we have (and the time we spend on addressing and working through those) can be made much much easier with such a feature.

 

I guess a happy medium could be more user awareness of the implications. For example, on Page/Product/Group save, I believe it's possible to check all URLs (even from memory) that would be affected and either show or allow download all of those and let the user decide what to do with it. Whether that's disregarding OR then importing those into the UrlPath table OR set up some redirect rule in IIS.

As I put some thoughts into words, I guess the problem is that it takes some effort nowadays to know what URLs are affected with "basic" changes, and/or sometimes a uesr may be obliviant of it, so they don't know of any impacts.

 

And I guess, even for DW9 (and some customers that need a bigger handholding) they can build subscribe to some notifications and get this info. Providing some UI awareness would only be simple in DW10 though.

 

Google is always "simple" to satisfy. Amazon does keep it simple with that URL, but they also keep URLs around for ever. When a product is discontinued or no longer on sale, the URL does not really go away. I know I'm diverging a bit from the topic though.

 

Thoughts?

 

BTW This discussion is being very helpful, thanks.

//Nuno

 

You must be logged in to post in the forum