kentico K12 MVC url need to update directly in database

innovix solutions asked on May 8, 2019 12:57

Hi All,

I have migrated data from old sites and those pages need to update url structure. How can i do it? I am using k12 MVC development and url pattern has been changed. Please let me know your opinion. Thanks.

Recent Answers


Dmitry Bastron answered on May 8, 2019 13:29

Hi,

Do you mean you have some content on pages that has URLs inside (for example in RichTextEditor) and now you need to update those URLs according to the new URL structure?

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on May 8, 2019 16:57

If all the links are internal (take you to the same site), I'd recommend to leave links as they are right now, but implement appropriate routing in MVC in order to support old links.

I'm just thinking that parsing and updating links in content/HTML is not error resistant enough.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.