Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8834

Update DocumentMenuRedirectUrl through API, changes not showing in live site

$
0
0
Hey guys,I need to set a redirect url for some nodes. These url's are generated through code so I have to update the nodes through the API. node.DocumentMenuRedirectUrl = url; node.Update(true); node.Publish(); this is my code. As you can see I set the DocumentMenuRedirectUrl, update the node @ then publish it. After I've run this code I can see the changes in the Navigation tab of these nodes. These are correct.My problem however is when I want to verify these changes on the live site. If I click on a url that refers to one of these nodes, it still gives me the real url instead of the redirect url. When I switch to preview mode, the correct url is used.My nodes are published, the url is correctly filled in but it doesn't show on the live site. Anyone has an idea on why it's not showing correctly?

Viewing all articles
Browse latest Browse all 8834

Trending Articles