Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Petr Vojtěch 7 posts 106 karma points
    May 25, 2022 @ 15:30
    Petr Vojtěch
    0

    ContentService.SaveAndPublish and automatic Redirect URL Management

    Hi, I'm changing the content of the page programmatically and saving it using ContentService.SaveAndPublish(newContent).

    The problem is that when I change the page name, automatic Redirect URL Management does not work.

    If I make a change using the CMS and the Save And Publish button, Redirect URL Management registers the change and creates a redirect.

    How do I force automatic redirect if I save directly from C # code?

    Thank you very much for help.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies