Any way to set AdditionalUrlsRedirectToDefaultOne programmat

Posted by Community Admin on 04-Aug-2018 22:44

Any way to set AdditionalUrlsRedirectToDefaultOne programmatically?

All Replies

Posted by Community Admin on 27-Jan-2016 00:00

We need to go back and set the AdditionalUrlsRedirectToDefaultOne property of our pages to true; however we have several hundred pages to do this on. Is there any way to set this field programmatically? Intellisense tells me that it's a read only field, but I'm hoping there is a way to access/set it another way?

 

Thanks!

Posted by Community Admin on 01-Feb-2016 00:00

Hi Carl,

Please try the approach suggested in this KB article:
http://www.sitefinity.com/developer-network/knowledge-base/details/set-additional-page-urls-to-redirect-to-the-default-url-through-the-api

Regards,
Sabrie Nedzhip
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 02-Feb-2016 00:00

Many thanks!! That did the trick perfectly.

This thread is closed