Kentico Xperience 13 for developers: Essentials exercise questions

Nattawut Comlon asked on April 18, 2023 01:20

hi Kentico training,

I tries to follow the exercises from the beginning within the training course, Kentico Xperience 13 for developers: Essentials, and I have some question. I hope you can help me explaining it for me.

I got the solution code files and the CI files from the https://github.com/Kentico/xperience-training-13 from the branch xp-for-developers-essentials

In this particular exercise: Displaying content on the live site --> Exercise: Implementing a home page. There is a step where it says "Hide language prefix in default culture URLs: false"

After I set it to "false", I cannot load the home page. It always shows "Not Found". When I first run the solution from the VS by press F5 (or Ctrl+F5), it lands on http://localhost:25291/home/. I tried to change it to http://localhost:25291/en-us/home/ but doesn't work as well.

It only works if I set "Hide language prefix in default culture URLs: true" instead. I am not sure if I missed anything. I barely touch the code that I get from the above repo. Could you please point out in which code that I should look at?

Thank you in adv.

Correct Answer

Juraj Ondrus answered on April 18, 2023 06:02

I would try clearing the browser cache from the beginning of time. Browser is caching the 301 redirects and also 404 pages...

0 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on April 18, 2023 03:02

Most likely the system is caching those values. So go to the System application and click clear cache. That should help you move forward

0 votesVote for this answer Mark as a Correct answer

Nattawut Comlon answered on April 18, 2023 04:55

tried the clear cache but still doesn't work, Brenden.

0 votesVote for this answer Mark as a Correct answer

Nattawut Comlon answered on April 18, 2023 08:57

Ah, it works! thank you so much Juraj and Brenden. It is working as expecting now, Cheers ;)

0 votesVote for this answer Mark as a Correct answer

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